NumToStr

From MultiCharts
Jump to navigation Jump to search

Returns a specified numerical expression in the form of a string expression.

Usage

NumToStr(Expression, Dec)

Where:

Expression - a numerical expression to be converted to a string expression.
Dec - a numerical expression specifying the number of decimal places the returned string expression is to contain.

Example

NumToStr(1500.5, 3);

Will return a string expression "1500.500".

Notes

  • Use StrToNum to convert a string to a numeric value.