I stubled onto this oddity with PBDOS 3.2
using "PRINT" command.
I'm working with very large positive integers --in
declared as DOUBLWRD
With numbers N > 10,000,000 , PRINT N
showa on screen the a.bcd...E7 format
'and I lose the final digit.
However for such numbere, if I program it as
PRINT (N - 10000000 + 10000000) I get the full
eight digit numer on screen!
e.g.
N = 23456789
PRINT N gives 2.345678E7, But
PRINT (N - 10000000 + 10000000) gives 2345678 !
Any guesses why??
------------------
Comment