Return the variable as a number
Member of Boolean Intrinsic Functions (PRIM_LIBI.IBooleanIntrinsics)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Integer | 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. True will return a value of 1, while False will return a value of 0.
#Result := #Variable.AsNumber
LANSA Version 15, April 2020