Converts a number to text using the currency format, with the decimals rounded to the specified place.
この関数は Google スプレッドシートでも Excel と同じように機能します。構文も引数も同じです。
DOLLAR(number, [decimals])The DOLLAR function formats a number as currency and converts it into a text string. It is useful for displaying values in reports where you want to maintain specific decimal precision while treating the result as text rather than a numeric value.
=DOLLAR(1234.567, 2)結果: $1,234.57
Converts the number to currency format and rounds it to two decimal places.
It returns a text string, which means you cannot perform mathematical calculations on the result directly.