manual:chapter3:numformatting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:chapter3:numformatting [2017/08/13 05:58]
claudio [The Format String]
manual:chapter3:numformatting [2017/08/13 11:51]
claudio [Displaying and Formatting Numbers]
Line 10: Line 10:
  
 The primary way to change the number formatting is the ''SETNFMT'' command. This command accepts a single string or real number, or a list as arguments. Passing a single string changes all 3 formats to the desired format given by the string (the particular format of the string will be explained in short). The list allows fine grain control of what format to change as follows: \\ The primary way to change the number formatting is the ''SETNFMT'' command. This command accepts a single string or real number, or a list as arguments. Passing a single string changes all 3 formats to the desired format given by the string (the particular format of the string will be explained in short). The list allows fine grain control of what format to change as follows: \\
-''1E100 SETNFMT'' or ''1E-10 SETNFMT'': Passing a single positive real number will change the cutoff limits without altering the format itself. If the number is larger than one, the limit for large numbers will be changed. Likewise, if the number is less than unity the limit for small numbers will be changed.\\+''1E100 SETNFMT'' or ''1E-10 SETNFMT'': Passing a single positive real number will change the cutoff limits without altering the format itself. If the number is larger than one, the limit for large numbers will be changed. Likewise, if the number is less than one the limit for small numbers will be changed.\\
  
 ''"#.##" SETNFMT'': Passing a single string will change the format for all 3 number ranges to the desired format.\\ ''"#.##" SETNFMT'': Passing a single string will change the format for all 3 number ranges to the desired format.\\
  • manual/chapter3/numformatting.txt
  • Last modified: 2021/10/05 15:29
  • by jojo1973