FreeBASIC <-> PHP | 64-bit real number
FreeBASIC Used keywords: double
double
Description
double
Examples
FreeBASIC
64-bit real number the possible of use:Dim x As double= 3.14159265359 ' x = 3.14159265359
Dim y As double= 123456789 ' y = 123456789.0
y =CDbl((x * y)) ' y = 387850941.35821074
.
PHP Used keywords: double
double
Description
double
Examples
PHP
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
FreeBASIC Used keywords: double
double
Description
double
Examples
FreeBASIC
64-bit real number the possible of use:Dim x As double= 3.14159265359 ' x = 3.14159265359
Dim y As double= 123456789 ' y = 123456789.0
y =CDbl((x * y)) ' y = 387850941.35821074
.
PHP Used keywords: float
float
Description
float
Examples
PHP
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
FreeBASIC Used keywords: double
double
Description
double
Examples
FreeBASIC
64-bit real number the possible of use:Dim x As double= 3.14159265359 ' x = 3.14159265359
Dim y As double= 123456789 ' y = 123456789.0
y =CDbl((x * y)) ' y = 387850941.35821074
.
PHP Used keywords: real
real
Description
real
Examples
PHP
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: real numbers | numbers | data types
64-bit real number in another programming language:
Differences to: