Why not explicitly test for a zero condition, or perhaps a less than a very small finite amount?
If zero# < 0.000000001 then zero# = 0.000000001
If zero# < 0.000000001 then zero# = 0.000000001
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.