Search found 1 match
- Wed Nov 21, 2018 4:37 pm
- Forum: Liberty BASIC Language
- Topic: Calculation discrepancies
- Replies: 3
- Views: 9434
Re: Calculation discrepancies
When searching for an integral solution to a mathematical procedure (for example, a brain teaser), it's not sufficient to use the algorithm IF (NUM-INT(NUM))= 0 THEN ......., because if the calculated NUM for an integer NUM includes rounding errors (say 2.000000000001 instead of integer 2) then the ...