fmt(x,format)
Builds a string by
writing a numeric value according to the specified format. The format
is specified as “w.r”, where w is the width of the output string
and r is the number of places printed to the right of the decimal
point. For example, $fmt(123.4567,'5.2') returns the string 123.45.
The output is a string variable.
Provide Feedback