TOREAL Function

Converts the argument to a real value.

Category: String
Returned data type: Real

Syntax

TOREAL(any)

Required Argument

any

specifies the value that is to be converted to a real value.

Example

// 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

See Also

For rules and special considerations when you coerce types, see Coercion.