NumToStr: Difference between revisions
From MultiCharts
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
Line 1: | Line 1: | ||
Returns a specified numerical expression in the form of a string expression. | Returns a specified numerical expression in the form of a string expression. | ||
== Usage == | |||
<syntaxhighlight>NumToStr(Expression, Dec)</syntaxhighlight> | |||
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 == | == Example == | ||
<syntaxhighlight>NumToStr(1500.5, 3);</syntaxhighlight> | <syntaxhighlight>NumToStr(1500.5, 3);</syntaxhighlight> |
Latest revision as of 13:07, 13 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.