MQL4 Reference
Basics
Data types
Floating-point number constants (double)
|
Floating-point constants consist of an integer part, a point (.), and a fractional part. The integer
and the fractional parts represent sequences of decimal numbers.
Examples:
double a = 12.111;
double b = -956.1007;
double c = 0.0001;
double d = 16;
Its internal representation is a double-precision number of 8 bytes. Floating-point constants can assume values from -1.7 * e-308 to 1.7 * e308. If a
constant exceeds this range, the result is undefined.
|
|
|