Free Pascal <-> PHP | Explicit conversion to 64-bit real number
Free Pascal Used keywords: double
double
Description
double (expr)
Input
- expr - Any
Output
- return - 64-bit real number
Examples
Free Pascal
Explicit conversion to 64-bit real number the possible of use:x:= 3.14159265359; // x = 3.14159265359
y:= 123456789; // y = 123456789.0
y :=double((x * y)); // y = 387850941.35821074
.
PHP
explicit conversion to 64-bit real number
Description
( type ) expression
Input
- type - 64-bit real number
- expression - Expressions
Output
- return - 64-bit real number
Examples
PHP
Explicit conversion to 64-bit real number the possible of use:$x= 3.14159265359; // x = 3.14159265359
$y= 123456789; // y = 123456789.0
$y =(double)($x * $y); // y = 387850941.35821074
You can find it in the following collections: explicit type conversions
Explicit conversion to 64-bit real number in another programming language:
Differences to: