RE: [PHP] numbers

From: Date: Wed, 22 Jan 2003 00:57:16 +0000
Subject: RE: [PHP] numbers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132532@lists.php.net to get a copy of this message
I used the floor() function -----Original Message----- From: Brian T. Allen [mailto:brian@gzmarketing.com] Sent: Wednesday, 22 January 2003 11:49 AM To: cj@itonsite.com.au; 'Php-List (E-mail)' Subject: RE: [PHP] numbers 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#132532) next »