Initializes a numeric value from a text representation of a number according to a provided format.
Target.InitNumeric(text, decimals)
string text - a string containing a numeric value
integer decimals - the number of decimal positions to be used for numeric initialization.
numeric - the numeric value initialized from the text using the specified format
Example
Sample code
InitNumeric( "12376", 2 ) will produce 123.76 as a numeric value.
See also