Difference between revisions of "StrToNum"

From MultiCharts
Jump to navigation Jump to search
m
m
 
Line 15: Line 15:
 
Will return a numeric value of 2500.70.
 
Will return a numeric value of 2500.70.
 
   
 
   
 +
== Notes ==
 +
* Use [[NumToStr]] to convert a numeric value to a string.
 
[[Category:Text Manipulation]]
 
[[Category:Text Manipulation]]

Latest revision as of 07:43, 9 February 2012

Converts a specified string expression to a numerical value.

Usage

StrToNum("String")

Where:

String - a string expression to be converted.

Notes

If non-numeric characters are encountered the rest of the expression is ignored.

Example

StrToNum("2500.70");

Will return a numeric value of 2500.70.

Notes

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