User Tools

Site Tools


token:CalculateFormat

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
Previous revision
Last revision Both sides next revision
token:CalculateFormat [2019/08/06 20:23]
peternlewis
token:CalculateFormat [2023/11/09 22:25]
peternlewis [CalculateFormat Token]
Line 14: Line 14:
 * CurrencyAccounting * CurrencyAccounting
  
-or a format pattern according to [[http://​unicode.org/​reports/​tr35/​tr35-6.html#​Number_Format_Patterns|Unicode Technical Standard #35]].+or a format pattern according to [[https://www.unicode.org/​reports/​tr35/​tr35-31/​tr35-numbers.html#​Number_Format_Patterns|Unicode Technical Standard #35]].
  
 Example patterns and results for the number 1234.567 in French locale are: Example patterns and results for the number 1234.567 in French locale are:
Line 20: Line 20:
 ^Format^Australia^ France ^ ^Format^Australia^ France ^
 | #,##0.## \\ #,##0.### \\ ###0.##### \\ ###0.0000# \\ 00000.0000 | 1,234.57 \\ 1,234.567 \\ 1234.567 \\ 1234.5670 \\ 01234.5670 | 1 234,57 \\ 1 234,567 \\ 1234,567 \\ 1234,5670 \\ 01234,5670 | | #,##0.## \\ #,##0.### \\ ###0.##### \\ ###0.0000# \\ 00000.0000 | 1,234.57 \\ 1,234.567 \\ 1234.567 \\ 1234.5670 \\ 01234.5670 | 1 234,57 \\ 1 234,567 \\ 1234,567 \\ 1234,5670 \\ 01234,5670 |
 +
 +(i) Note that numeric values in Keyboard Maestro allow only “full stop” decimal (.) and no thousand separators (except optional underscores),​ so the output of this token will likely not be a valid number for a Keyboard Maestro calculation. It should be used only for display purposes.
 +
  
 ===== See Also ===== ===== See Also =====
  
-* [[https://​unicode.org/​reports/​tr35/​tr35-6.html#​Number_Format_Patterns|Unicode Technical Standard #35]]+* [[https://www.unicode.org/​reports/​tr35/​tr35-31/​tr35-numbers.html#​Number_Format_Patterns|Unicode Technical Standard #35]]
  
 === Tokens === === Tokens ===
Line 29: Line 32:
 * [[Calculate|%Calculate%]] token * [[Calculate|%Calculate%]] token
 * [[/​Tokens|All Tokens]] * [[/​Tokens|All Tokens]]
- 
token/CalculateFormat.txt · Last modified: 2023/11/09 22:28 by peternlewis