>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? There are no errors in the formula that is being equated.
>Please help me
>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 sometime
None that I know of but
http://www.php.net/manual/en/function.round.php
might help you.
Ross
-Original Message-
From: Anthony [mailto:[EMAIL PROTECTED]]
Sent: 29 October 2001 14:28
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Floating Point
Is there a way to limit the amount of decimal