From 245d3d74298818ad066bccd3990dd4a0002c675a Mon Sep 17 00:00:00 2001 From: gambas Date: Sat, 26 Jan 2019 15:24:46 +0100 Subject: [PATCH] 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. --- main/share/gb_limit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/share/gb_limit.h b/main/share/gb_limit.h index ed26ac582..da4b40039 100644 --- a/main/share/gb_limit.h +++ b/main/share/gb_limit.h @@ -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