From c5b20da8143755d1f311acedff9e6f23f3ef06a5 Mon Sep 17 00:00:00 2001 From: Jorge Alberto Giraldo Salazar Date: Sun, 17 Feb 2002 04:06:09 +0000 Subject: [PATCH] 2002-02-16 20:25 UTC+0500 Jorge A. Giraldo --- harbour/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b0fed013c7..c532b8367b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -7,6 +7,18 @@ For example: 2002-12-01 23:12 UTC+0100 Foo Bar */ + +2002-02-16 20:25 UTC+0500 Jorge A. Giraldo + * source/vm/itemapi.c + ! hb_itemStr() - Eliminated the limit of 9 decimals if not SET FIXED ON + ! hb_itemStr() - Rounded starting from 17th less significant number. + This is the behavior of Clipper. + Ex: + Before ? str( 1191.63, 20, 15 ) -> 1191.629999999999882 + Now ? str( 1191.63, 20, 15 ) -> 1191.630000000000000 + + * source/rtl/val.c + ! hb_strVal() - Change dValue from double to long double. This allows that the string-number conversions are same for program and for compilation. ? ( val("1191.63") == 1191.63 ) -> TRUE