I'm trying to round a decimal number like 78.37898794 to say 78.379, without converting it to a string. I've been struggling to get this right and to get info on it. The closest that I've found is to use: format "%.3f". But format converts the number to a string. Not exactly what I'm trying to do.
How can I do this in Clojure, or where is info on how to do it? Thanks for your help. -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en