Format a 'numeric' string as a number-like string
Clash Royale CLAN TAG#URR8PPP
Format a 'numeric' string as a number-like string
I would like to format a 'numeric' string as a 'string number' in Clojure. This is the format mask:
"#,###,###,##0.00"
Given the string "9999.99" I would expect to receive back "9,999.99".
How would I do this in Clojure without resorting to writing a function i.e. using format
or something similar?
format
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.