@fmtnum() Function |
![]() ![]() ![]() |
@fmtnum() is used to format numbers. Syntax: @fmtnum(number, format-pattern[, language-code]) number The number to format format-pattern The pattern that will guide the formatting operation. See Number format symbols. language-code The language code that determines the thousand and decimal characters. If it is not specified, the language code of the current page is used.
Examples: @fmtnum(1200.23,'#,###.00','fi') @// Result: 1 200,23 @echo('Amount : ' + fmtnum(1200.23,'000,000.00','en') ) @// Result: 001,200.23
See @parsenum()
|