Division by zero

Blitz3D Forums/Blitz3D Programming/Division by zero

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.

I always multiply instead of dividing... So if you want to make something half size use x * .5 rather than x / 2.

Using this method you will never get division by 0 and multiplying by 0 gives a result of 0 safely.