C <-> PHP | 64-bit real number
C Used keywords: double
double
Description
doubleNote: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.
Examples
C
64-bit real number the possible of use:double x = 3.14159265359; // x = 3.14159265359
double y = 123456789; // y = 123456789.0
y =(double)(x * y); // y = 387850941.35821074.
PHP Used keywords: double
double
Description
doubleExamples
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.35821074C Used keywords: double
double
Description
doubleNote: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.
Examples
C
64-bit real number the possible of use:double x = 3.14159265359; // x = 3.14159265359
double y = 123456789; // y = 123456789.0
y =(double)(x * y); // y = 387850941.35821074.
PHP Used keywords: float
float
Description
floatExamples
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.35821074C Used keywords: double
double
Description
doubleNote: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.
Examples
C
64-bit real number the possible of use:double x = 3.14159265359; // x = 3.14159265359
double y = 123456789; // y = 123456789.0
y =(double)(x * y); // y = 387850941.35821074.
PHP Used keywords: real
real
Description
realExamples
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.35821074You can find it in the following collections: real numbers | numbers | data types
64-bit real number in another programming language:
Differences to: