Koen van den Boogaart wrote:
Is it expected behaviour that

<?php var_dump( round(-0.26) ); ?>

outputs

float(-0)
What version of PHP are you running.

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to