On Oct 29, 1:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > How about this: > > (defn abs [x] > (if (< x 0) (- x) x))
I will use that - I should have considered making my own version rather than messing around with BigDecimal.abs(). Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---