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.

Bạn đặt định dạng tiền tệ trong thiết lập của hệ thống.

Cú pháp

DOLLAR(Value [; Decimals])

Giá_trị là một số, một tham chiếu đến một ô chứa một số, hay một công thức trả về một số.

Thập_phân là số lần số (tùy chọn).

Ví dụ

=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.

Please support us!