>Is there a way to limit the amount of >decimal places a floating point equation >will calculate out to?
>I have an equation that I get -1.#IND >as the value of the equation sometimes. >Does anyone know what this means? This is a so called overflow error. When you are doing division sometimes your result gets to big, larger than being able to store in the register. When this happens the overflow flag is set in the CPU and -1.#IND is just a way to display this matter of fact. >There are no errors in the formula >that is being equated. Please help me out. What happens is perfectly normal when you traverse the real numbers. You just have to put in a little routine in your algorithm that checks for division with zeros (and close in that range) and then compensate for that. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]