> --- "Asendorf, John" <[EMAIL PROTECTED]> wrote: > > $floor_val = 6 * ((int) 15/6) // yielded 15 for > > me... not what I was going > > for. > > This returned 15 for me, too.
That might be because the expression is interpreted as 6 * [((int)15) /6] Try : 6 * (int)(15/6) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php