RE: [PHP] numbers
| From: | Brian T. Allen | Date: | Wed, 22 Jan 2003 00:48:59 +0000 |
| Subject: | RE: [PHP] numbers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132531@lists.php.net to get a copy of this message | ||
Which, for the list, can be number_format(), among other things.
Brian
> -----Original Message-----
> From: cj [mailto:cj@itonsite.com.au]
> Sent: Tuesday, January 21, 2003 5:18 PM
> To: Php-List (E-mail)
> Subject: RE: [PHP] numbers
>
>
> I just found the answer
>
> -----Original Message-----
> From: cj [mailto:cj@itonsite.com.au]
> Sent: Wednesday, 22 January 2003 11:07 AM
> To: Php-List (E-mail)
> Subject: [PHP] numbers
>
>
> G'day all
>
> I have a calculation which gives me a number ie 6976587.4169922
> This number is works outed by dividing a variable with 1024
>
> Is there any way to strip anything after the .
> so I just want the number 6976587 and not anything after the .
>
> Thanks
> CJ
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>