target.InitNumeric
Description
Description
Initializes a numeric value from a text representation of a number according to a provided format.
Syntax
Syntax
Target.InitNumeric(text, decimals)
Parameters
Parameters
string text - a string containing a numeric value
integer decimals - the number of decimal positions to be used for numeric initialization.
Return value
Return value
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