Support

Equilla Formula Language

CStr

Returns an expression converted to a string (to an optional precision).

Inputs

Expression
Numeric: Value to be converted to a string.
Precision
Numeric: (Optional) Number of decimal places to round the value to. If the parameter is omitted the value will be converted without any rounding.

Examples

Print 1170.5
Print( CStr( 1170.5, 2 ) );
Print 1170.5
Print( CStr( 1170.52, 1 ) );
Print 1170.5
Print( CStr( 1170.49, 1 ) );