The fmtnum Statement
The fmtnum statement converts its scalar input (third) argument to a string output (first) argument. The format of the string output is specified via the format string (second) argument. The syntax of the fmtnum statement is shown below.
fmtnum strValue, fmtStr, value // convert value to a string