Game Development Community

Infinite Decimal problem

by Trevor "PointDestruction" · in Technical Issues · 08/16/2002 (5:10 am) · 1 replies

Hey i'm using a math formula (a simple number multiplied by a decimal stuff), and well when it computates the math I guess it gets an infinite decimal and then crashes the game...

Any ideas HOW to fix this!?


EDIT: I think I figured out how to do it (I stopped the crashing anyway .. I just had to mFloor almost everything I do in the formula lol)

#1
08/17/2002 (8:49 am)
Not quite following your here.

Perhaps you could show your forumla with some sample values otherwise I'm not sure how anyone can help.

- Melv.