C <-> PHP | 64-bit real number

C

double

Description

double
Used keywords: double
Note: 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

double

Description

double
Used keywords: 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
C

double

Description

double
Used keywords: double
Note: 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

float

Description

 float
Used keywords: 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
C

double

Description

double
Used keywords: double
Note: 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

real

Description

real
Used keywords: 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:
Languages: en hu cz sk