RE: [PHP] problems with round ..
| From: | Chad Day | Date: | Wed, 27 Jun 2001 15:27:11 +0000 |
| Subject: | RE: [PHP] problems with round .. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55418@lists.php.net to get a copy of this message | ||
Yes, it is. I've tried it on a couple different php4 servers, I've never
gotten it to work.
Chad
-----Original Message-----
From: CC Zona [mailto:cczona@nospam.invalid]
Sent: Tuesday, June 26, 2001 8:00 PM
To: php-general@lists.php.net
Subject: Re: [PHP] problems with round ..
In article <NFBBJEHDJOLEGDCDKEGGMENLCGAA.cday@atpco.com>,
cday@atpco.com ("Chad Day") wrote:
> $BLAH = round($BLAH, 2);
>
> Spits out a wrong parameter error. I've tried quotes around the variable,
> the parameter, and any combinations, but it still pukes on me. Why can't
I
> specify a precision?
According to the manual, the second parameter is only available in PHP4--is
that what you're using?
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net