<<< Integer Literals | Index | sizeof operator >>> |
Notations
decimal point:
7.33
0.0975
float type declares single-precision number
double type declares double-precision number
Example:
double pi = 3.14;
More info: floating-point precision
<<< Integer Literals | Index | sizeof operator >>> |