Cast Expressions




When multiple casts are present, they group right to left.

When 'type_name' is a valid type, the cast expression must resolve to a type that contains a conversion operator to that type.

Implicit type conversions between the integer datatype and the number datatype are built into the runtime. An integer may be cast to a number and a number may be cast to an integer. Both integer and number may be cast to a string.