fixed
Format a number with a fixed number of decimal places.
Syntax
Section titled “Syntax”v = fixed(number, decimals, no_commas)Description
Section titled “Description”Returns number rounded and formatted with decimals digits after the decimal point (default 2). With no_commas = true, omits thousands-grouping commas.
Examples
Section titled “Examples”fixed(1234567.891, 2) % '1,234,567.89'fixed(1234567.891, 2, true) % '1234567.89'