DOLLAR(number, [decimals])
=DOLLAR(1234.567)
This formula converts the numeric value 1234.567 into the currency-formatted text "$1,234.57" (assuming the default currency symbol is "$").
=DOLLAR(-987.654, 3)
This formula converts the numeric value -987.654 into the currency-formatted text "-$987.654" with three decimal places, resulting in the text "-$987.654" (assuming the default currency symbol is "$").
The DOLLAR function formats a numeric value as a currency, rounding it to a specified number of decimal places and adding a currency symbol.