Re: Error in precision with number operations
From: Chris Barber (chris_at_blue-canoe.co.uk.NOSPAM)
Date: 03/05/04
- Next message: Torgeir Bakken (MVP): "Re: Problem Getting DateDiff for Minutes"
- Previous message: Torgeir Bakken (MVP): "Re: Problem Getting DateDiff for Minutes"
- In reply to: Jon: "Error in precision with number operations"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Mar 2004 22:30:12 -0000
See:
http://www.merlyn.demon.co.uk/js-round.htm
for really in-depth info on floating point arithmetic and rounding issues.
Chris.
"Jon" <spatxun@hotmail.com> wrote in message
news:u1RNYhsAEHA.1604@TK2MSFTNGP11.phx.gbl...
Hi, all
I´ve a problem with some number operations in VBScript::
10.11 - 10.10 = 9,99999999999979E-03
and the real result is 0.01
żAny idea?
żAny solution, patch, service pack, etc?
I am running the script in Intenet Explorer 6.0.
Thanks
- Next message: Torgeir Bakken (MVP): "Re: Problem Getting DateDiff for Minutes"
- Previous message: Torgeir Bakken (MVP): "Re: Problem Getting DateDiff for Minutes"
- In reply to: Jon: "Error in precision with number operations"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading