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
|