Difference between revisions of "NumToStr"
Jump to navigation
Jump to search
(Created page with "Returns a specified numerical expression in the form of a string expression. ==== Usage ==== <syntaxhighlight>NumToStr(Expression,Dec)</syntaxhighlight> Where: [[Expressi...") |
m |
||
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> | + | <syntaxhighlight>NumToStr(Expression, Dec)</syntaxhighlight> |
− | Where: | + | 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 == | |
− | <syntaxhighlight>NumToStr(1500.5,3); | + | <syntaxhighlight>NumToStr(1500.5, 3);</syntaxhighlight> |
+ | Will return a string expression "1500.500". | ||
[[Category:Text Manipulation]] | [[Category:Text Manipulation]] |
Revision as of 07:27, 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".