Hi Przemek,
Thank you VERY much for that detailed explanation and for your help!
Your second solution...
hb_vmPushLogical( hb_numRound( dNumber1 - dNumber2,
(int) MY_PRECISION ) == 0 );
...is much simpler than the first one - Why should I not use this
second solu
On Thu, 14 Aug 2008, Randy Portnoff wrote:
Hi Randy,
> I have changed the numeric comparison functions in my Harbour version
> to compensate for floating point issues when comparing numeric values
> (it was must simpler doing it in Harbour than in the PRG code) - I
> round all values to 8 deci
Hi all,
I have changed the numeric comparison functions in my Harbour version
to compensate for floating point issues when comparing numeric values
(it was must simpler doing it in Harbour than in the PRG code) - I
round all values to 8 decimal places before making the comparison - I
have use