Skip to content

Commit 8f18f18

Browse files
Ken KundertKen Kundert
authored andcommitted
tweak docs
1 parent 7d9f471 commit 8f18f18

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/user.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,6 +2217,16 @@ By default *QuantiPhy* uses ``.``, ``,``, ``+``, ``-``, ``inf``, ``nan`` and ``
22172217
`` as the defaults. These are all simple ASCII characters. They work as expected
22182218
for the numbers normally used in programming, such as ``-5.17e+06``.
22192219

2220+
For convenience *QuantiPhy* provides the Unicode characters that are often used
2221+
in localization as attributes of *Quantity*:
2222+
2223+
| *Quantity.non_breaking_space*
2224+
| *Quantity.narrow_non_breaking_space*
2225+
| *Quantity.thin_space*
2226+
| *Quantity.plus_sign*
2227+
| *Quantity.minus_sign*
2228+
| *Quantity.infinity_symbol*
2229+
22202230
Both *radix* and *comma* affect the way stings are converted to quantities and
22212231
they way quantities are rendered. When interpreting a string as a number,
22222232
*QuantiPhy* first strips the *comma* character from the string and then replaces

0 commit comments

Comments
 (0)