Return to Index  

Calculator

March 17 2003 at 12:15 AM
 
from IP address 66.138.230.234


Response to Calculator

 

Long integers go up to 2 billion + so if you add
2 numbers that go over that then you will get an
overflow.

I would use double precision instead though you may
need a rounding routine if decimals are allowed.
15 digits.

PowerBasic for windows has Quad integers and go to
+- 2^63 -1
plus 2 currency numeric types

 
 Respond to this message   
Create your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement