Java <-> Free Pascal | Explicit conversion to 32-bit real number

Java

explicit conversion to 32-bit real number

Description

( type ) expression

Input


Output

Examples

Java

Explicit conversion to 32-bit real number the possible of use:
float x = 3.14159265359;  // x = 3.14159274
float y = 123456789;      // y = 123456792.0
y =(float)(x * y);       // z = 387850976.0
.
Free Pascal

single

Description

 single (expr)
Used keywords: single

Input


Output

Examples

Free 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