DigitGrouping

Digit grouping class -- just a container for static functions.

Members

Static functions

format
mstring format(T num, mstring output)

Formats a number to a string, with comma separation every 3 digits

length
size_t length(T num)

Calculates the number of characters in the string representation of a thousands separated number.

Meta