08-09-2004, 02:45 PM
08-09-2004, 02:58 PM
Just because it views in 32bits doesn't meen it can't handle a 64 bit problem. It just meens you have to "teach it".
08-09-2004, 04:44 PM
There are two solutions to this problem; both are very easy to implement. The first is to round your answer to the number of decimal points that you want:
The second solution, which has already been posted by Nex, is to use fixed-point:
Code:
CLS
DO
PRINT USING "###.#"; b!;
b! = b! + .1
a% = a% + 1
LOOP UNTIL a% = 70
The second solution, which has already been posted by Nex, is to use fixed-point:
Code:
CONST DIV = 1000
CLS
DO
PRINT b& / DIV,
b& = b& + .1 * DIV
a% = a% + 1
LOOP UNTIL a% = 70