On Mon, Oct 6, 2008 at 10:58 PM, Iván N Paz <[EMAIL PROTECTED]> wrote:

>
> DONE!!!!
>
> Interesting enough, both: "return Math.floor(p/s);" and "return
> Math.floor(p * n)" yielded the same outcome... I stuck to second one,
> in order to get rid of "s" calculation!!!

I just simplified the algebraic expression p / (1/n)


> You can see the final demo at: http://ivanicus.com/moo/

Very nice!


-- 
Guillermo Rauch
http://devthought.com

Reply via email to