Applies ToIzdanje pretplate na SharePoint Server SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 Enterprise SharePoint u sistemu Microsoft 365 SharePoint Foundation 2010 SharePoint Server 2010 SharePoint u programu Microsoft 365 Small Business Windows SharePoint Services 3.0

Converts a number to text using currency format, with the decimals rounded to the specified place. The format used is $#,##0.00_);($#,##0.00).

Syntax

USDOLLAR(number,decimals)

Number     is a number, a column reference containing a number, or a formula that evaluates to a number.

Decimals     is the number of digits to the right of the decimal point. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, your system locale setting will be used to determine the number of decimal places.

Remark

The USDOLLAR function always shows U.S. currency. If you want to show the currency setting of your computer, use the DOLLAR function instead.

Examples

Col 1

Formula

Description (Result)

1234.567

=USDOLLAR([Col1], 2)

Displays the first number in a currency format, 2 digits to the right of the decimal point ($1,234.57)

1234.567

=USDOLLAR([Col1], -2)

Displays the first number in a currency format, 2 digits to the left of the decimal point ($1,200)

-1234.567

=USDOLLAR([Col1], -2)

Displays the second number in a currency format, 2 digits to the left of the decimal point (($1,200))

-0.123

=USDOLLAR([Col1], 4)

Displays the third number in a currency format, 4 digits to the right of the decimal point(($0.1230))

99.888

=USDOLLAR([Col1])

Displays the fourth number in a currency format, 2 digits to the left of the decimal point ($99.89)

Da li vam je potrebna dodatna pomoć?

Želite još opcija?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.