Warning

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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cast [2019/05/06 10:24] neilscast [2019/06/30 21:10] (current) neils
Line 1: Line 1:
 ====== CAST() ====== ====== CAST() ======
 +
 +//Since version 2.0//
  
 Syntax: Syntax:
Line 5: Line 7:
   cast(<any expression>) | cast!(<any expression>) | cast%(<any expression>)   cast(<any expression>) | cast!(<any expression>) | 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.+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.