function sprintf

RETURNS X (either a real number or an integer) as a string using specified format string. The formatting is done like in the C printf function. The total length of the formatted string is limited to 256 characters.

Syntax
result = sprintf(FORMAT, X)