NumToStr: Difference between revisions
From MultiCharts
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
<syntaxhighlight>NumToStr(1500.5, 3);</syntaxhighlight> | <syntaxhighlight>NumToStr(1500.5, 3);</syntaxhighlight> | ||
Will return a string expression "1500.500". | Will return a string expression "1500.500". | ||
== Notes == | |||
* Use [[StrToNum]] to convert a string to a numeric value. | |||
[[Category:Text Manipulation]] | [[Category:Text Manipulation]] |
Revision as of 07:44, 9 February 2012
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.