From 19b83e535d693f7dad83c5f89781e1974f1f7526 Mon Sep 17 00:00:00 2001 From: gambas Date: Thu, 9 May 2019 00:04:18 +0200 Subject: [PATCH] Fix 'gb.Scientific' number format. [INTERPRETER] * BUG: Fix 'gb.Scientific' number format. --- main/gbx/gbx_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/gbx/gbx_local.c b/main/gbx/gbx_local.c index d6712b338..a2a79b967 100644 --- a/main/gbx/gbx_local.c +++ b/main/gbx/gbx_local.c @@ -751,7 +751,7 @@ bool LOCAL_format_number(double number, int fmt_type, const char *fmt, int len_f break; case LF_SCIENTIFIC: - fmt = "0.################E+#"; + fmt = "0.################E+0"; break; case LF_CURRENCY: