Skip to main content

formatNumber

Formats a number using the specified format string.

Important

FUNCTION DEPRECATED — superseded by numberFormat.

Parameters

Examples

ATL in Script

Result

[[formatNumber(123456.789,'###,###.###')]]

123,456.789

[[formatNumber(123456.789,'###.##')]]

123456.79

[[formatNumber(12345.67,'$###,###.###')]]

$12,345.67