Num

Converts a string into a float.

Function Group Execution Windows Embedded Thin Client Mobile Access
Num String Synchronous Supported Supported Supported Supported

Syntax

  Num( strValue )  
strValue
The number of characters to be converted into float format.

Returned value

Returns the number (formerly in a string format) in float format.

Examples

Tag Name Expression
Tag Num( “321654.987″ ) // Returned value = 321654.987
Tag Num( “5.6589626246″ ) // Returned value = 5.6589626246
Note: The float string cannot use characters other than the numbers (0..9) and a decimal point (.), or the function returns the value 0.0.

Num