Back

intcomma (clj)

(source)

function

(intcomma num)
Converts an integer to a string containing commas. every three digits. For example, 3000 becomes '3,000' and 45000 becomes '45,000'.

Examples