Re: PHP Rounding Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 20, 2011 at 10:40 AM, Rick Dwyer <rpdwyer@xxxxxxxxxxxxx> wrote:

> How do I coerce the result to always round up to the nearest increment 1/4?
>

$x = ceil($x * 4) / 4;

David

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux