This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
token:CalculateFormat [2017/09/05 00:20] peternlewis created |
token:CalculateFormat [2019/08/06 20:51] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== CalculateFormat Token ===== | ===== CalculateFormat Token ===== | ||
- | The //%CalculateFormat%//**<formula>**//%//**<format>**//%// [[:Tokens|token]] returns the **numeric** result of performing a calculation. The formula is the same as for the [[Calculate]] token. | + | The //%CalculateFormat%//**<formula>**//%//**<format>**//%// token (v8+) returns the **numeric** result of performing a calculation. The formula is the same as for the [[Calculate]] token. |
The **<format>** is either one of these specific localized formats: | The **<format>** is either one of these specific localized formats: | ||
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 23: | Line 23: | ||
===== See Also ===== | ===== See Also ===== | ||
- | * [[http://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 29: | ||
* [[Calculate|%Calculate%]] token | * [[Calculate|%Calculate%]] token | ||
* [[/Tokens|All Tokens]] | * [[/Tokens|All Tokens]] | ||
- |