NumToStr (Reserved Word)

image\trumpet2.gif Disclaimer

Converts the specified numeric expression to a string expression.

NumToStr(Num, Dec);

Where Num is the numeric expression that you want converted to a string expression and Dec is the numeric expression indicating how many decimal places to retain in the string expression. Note: If Dec is negative it is treated as though it were 0 (no decimal point in the returned string).

Example

NumToStr(1170.5, 2)

Returns the string expression "1170.50".