RE: [PHP-WIN] Floating Point

2001-10-30 Thread Svensson, B.A.T.
>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

RE: [PHP-WIN] Floating Point

2001-10-30 Thread Svensson, B.A.T.
>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

RE: [PHP-WIN] Floating Point

2001-10-29 Thread Ross Fleming
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