nExpression Specifies the numeric expression STR( ) evaluates.
nLength Specifies the length of the character string STR( ) returns. The length includes one character for the decimal point and one character for each digit to the right of the decimal point.
STR( ) pads the character string it returns with leading spaces if you specify a length larger than the number of digits to the left of the decimal point. STR( ) returns a string of asterisks, indicating numeric overflow, if you specify a length less than the number of digits to the left of the decimal point.
nDecimalPlaces Specifies the number of decimal places in the character string STR( ) returns. You must include nLength to specify the number of decimal places.
If you specify fewer decimal places than are in nExpression, the extra digits are truncated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.