STR

Converts a number to a string.

Syntax

STR(Value, Length, Decimals)

Value is the value to be converted into a string. Length is the maximum length of the resulting string. Decimals is the number of decimal places that must be indicated by the string.

Example

This example returns ' 1.23' (a six character string with two leading blanks):

STR(1.23456, 6, 2)