![]() Topic awaiting preservation: Calculation Problem (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys. How are you? quote:
quote:
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() The problem is that some numbers, when represented within the computer as binary numbers, aren't 100% exact. These tiny innacuracies appear when you output the final number. |
Paranoid (IV) Inmate From: NZ |
![]() Many many thanks for that, Slime. quote:
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() For the same reason that, say, 1/3 can't be represented exactly in decimal form: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Here's an article about Javascript precision |
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys. Good morning. |