Floating point problem

Blitz3D Forums/Blitz3D Beginners Area/Floating point problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

BCD stands for Binary Coded Decimal: take the decimals and encode them in 4 bits each (thus wasting 6 of the 16 values). This had the advantage of being simpler to display (no divisions, just take a block of four bits and it's your decimal), and also for float numbers that can be accurately represented with a decimal radix (as 0.01), then it can also (set aprat the overflow issue) be accurately represented in BCD format.