Hello Steve,

> As an alternative to the code you posted, for positive integers n and m,
>         (int (Math/floor (/ n m))
> is equivalent to
>         (quot n m)
> If negative values are possible, you could write a function based on quot 
> that would give the appropriate answer in all cases.

Thank you, this makes sense + makes the code simpler :-)  (as negative
values would be "wrong" in this particular case).

Kind regards,

Vlado

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to