Pascal - explicit conversion to 32-bit real number: single

the required type conversion can be carried out as follows:

single

Description

 single (expr)
Used keywords: single

Input


Output

compatible programing languages:
Free Pascal | Object Pascal

Examples

Pascal

explicit conversion to 32-bit real number the possible of use:
x:= 3.14159265359;  { x = 3.14159274}
y:= 123456789;      { y = 123456792.0}
y :=single((x * y));       { z = 387850976.0}

you can find it in the following collections: explicit type conversions
Languages: en hu cz sk