dollar
Format a number as currency text.
Syntax
Section titled “Syntax”v = dollar(number, decimals)Description
Section titled “Description”Returns number formatted with the local currency symbol and decimals digits after the decimal (default 2). Equivalent to text(number, '$#,##0.00') in en-US locale.
Example
Section titled “Example”dollar(1234.567) % '$1,234.57'