Re: [PHP] Round
- From: lists@xxxxxxxxx (Jim Lucas)
- Date: Wed, 29 Aug 2007 09:01:49 -0700
Koen van den Boogaart wrote:
Is it expected behaviour thatWhat version of PHP are you running.
<?php var_dump( round(-0.26) ); ?>
outputs
float(-0)
I'm running 5.1.6 and I get float(0)
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
.
- Follow-Ups:
- Re: [PHP] Round
- From: "Koen van den Boogaart"
- Re: [PHP] Round
- References:
- Round
- From: "Koen van den Boogaart"
- Round
- Prev by Date: Re: [PHP] Regular expression - URL validator
- Next by Date: Re: [PHP] Round
- Previous by thread: Re: [PHP] Round
- Next by thread: Re: [PHP] Round
- Index(es):
Relevant Pages
|