Converts the argument to a real value.
Category: | String |
Returned data type: | Real |
TOREAL(any)
any
specifies the value that is to be converted to a real value
// Declare a real variable to contain the real value
real realval
// Use the TOREAL function to populate the real variable
realval=toreal(3750.12345)
// Returns the value:
3750.12345
For rules and special considerations when you coerce types, see Coercion.