Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

CAST()

Since version 2.0

Syntax:

cast(<any expression>) | cast!(<any expression>) | cast%(<any expression>)

The CAST() function converts an expression of any type to the required type. If there is a possibility of precision loss or truncation, the compiler will display a warning.