Warning

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

This is an old revision of the document!


CAST() function

Syntax:

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

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