DOLLAR Function

Conteníu

# DOLLAR

Converts a number to a string representing the amount in the currency format, rounded to a specified decimal places, using the decimal separator that corresponds to the current locale setting. In the Value field enter the number to be converted. Optionally, you may enter the number of decimal places in the Decimals field. If no value is specified, all numbers in currency format will be displayed with two decimal places.

Tien De establecer el formatu de la divisa na configuración del sistema.

#### Sintaxis

DOLLAR(Value [; Decimals])

Valor ye un númberu, una referencia a una caxella que contién un númberu o una fórmula que da como resultáu un númberu.

Decimales ye'l númberu opcional de posiciones decimales.

#### Exemplu

=DOLLAR(255) returns $255.00 for the English (USA) locale and USD (dollar) currency; ￥255.00 for the Japanese locale and JPY (yen) currency; or 255,00 € for the German (Germany) locale and EUR (euro) currency.

=DOLLAR(367.456;2) returns $367.46.

Temes rellacionaos

DOLLAR wiki page.

Text Functions