Re: Re[8]: [PHP] Repeating Decimals
| From: | Stephen | Date: | Sat, 07 Dec 2002 19:26:12 +0000 |
| Subject: | Re: Re[8]: [PHP] Repeating Decimals | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127390@lists.php.net to get a copy of this message | ||
That's ok. The user needs to use some of his/her brain too. :P
Thanks again!
----- Original Message -----
From: "Tom Rogers" <trogers@kwikin.com>
To: "Stephen" <webmaster@melchior.us>
Sent: Saturday, December 07, 2002 2:03 PM
Subject: Re[8]: [PHP] Repeating Decimals
> Hi,
>
> Sunday, December 8, 2002, 4:51:37 AM, you wrote:
> S> Thanks! I works now.
>
>
> S> ----- Original Message -----
> S> From: "Tom Rogers" <trogers@kwikin.com>
> S> To: "Stephen" <webmaster@melchior.us>
> S> Sent: Saturday, December 07, 2002 1:46 PM
> S> Subject: Re[6]: [PHP] Repeating Decimals
>
> Good :)
> One problem is rounding which screws things up as it can round up the last
> digit giving a false answer. 1/13 for example which gives 0.0769230769231
<<< 07
> rounded up to 1
> Not sure what to do about that...
>
> --
> regards,
> Tom
>
>