Object Pascal - Explicit type conversions

By using an explicit conversion, you can specify exactly what type you want to work with. Thanks to this we can overwrite automatic conversion.
explicit conversion to 32-bit integer
 integer (expr)

 longint (expr)

Object Pascal

Other pieces of example codes:
z := integer((x * y));
y := word((x * y));
y :=single((x * y));
y := Int64((x * y));
b3:= Boolean( 0);
y := longword((x * y));
Languages: en hu cz sk