powered by
Just a wrapper around format with defaults for full digits
format
number_as_comma(value)
A numeric
A string with comma separation every three digits
# NOT RUN { number_as_comma(1000) number_as_comma(10000) # }
Run the code above in your browser using DataLab