Return the variable as a number
Member of Integral Enumeration Intrinsic Functions (PRIM_LIBI.IIntegralEnumerationIntrinsics)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Decimal | Resulting number |
AsNumber will convert a variable to a number. If the variable contains characters that cannot be converted, the application will end with a run time error. Use IsNumber to test the variable before using AsNumber.
If (#Variable.isNumber) #Result := #Variable.AsNumber Endif
Febuary 18 V14SP2