This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
dictionary:more:formatnumber [2023/01/09 13:45] James Sentman [Examples:] added temperature eample and applescript usage note |
dictionary:more:formatnumber [2023/01/09 13:46] (current) James Sentman [format string spec:] added applescript usage note |
||
---|---|---|---|
Line 19: | Line 19: | ||
| - | displays the minus sign to the left of the number if the number is negative, makes no change if the number is positive.| | | - | displays the minus sign to the left of the number if the number is negative, makes no change if the number is positive.| | ||
| E or e | displays the number in scientific notation.| | | E or e | displays the number in scientific notation.| | ||
- | | \character | displays the character that follows the backslash.| | + | | \character | displays the character that follows the backslash. When using with the verb in applescript you will need to double slash this. See applescript usage note below.| |
additionally the string may contain 3 formats separated by semicolons to be used when the number is positive, negative or zero. | additionally the string may contain 3 formats separated by semicolons to be used when the number is positive, negative or zero. |