Do not add an extra decimal digit to floating point numbers, it introduces rounding errors.

[INTERPRETER]
* BUG: Do not add an extra decimal digit to floating point numbers, it introduces rounding errors.
This commit is contained in:
gambas 2019-01-26 15:24:46 +01:00
parent 402d1acbcb
commit 245d3d7429

View file

@ -97,7 +97,7 @@
#define MAX_STRUCT_FIELD 255
/* Maximum number of digits in a Float */
#define MAX_FLOAT_DIGIT 16
#define MAX_FLOAT_DIGIT 15
#endif