Bryan Pal wrote:
--- "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.

But this does what you want:

$floor_val = 6 * floor(15/6)
es, sorry was my mistake, correct is:

$floor_val = 6*(int)(15/6);

Cheers!
Bryan


-----Original Message-----
From: cybot [mailto:[EMAIL PROTECTED]]
just use

$floor_val = 6 * ((int) 15/6)




__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
Sebastian Mendel

[EMAIL PROTECTED]

www.sebastianmendel.de
www.tekkno4u.de
www.nofetish.com


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

Reply via email to