DigitGrouping.format

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

class DigitGrouping
static
format
(
T
)

Parameters

T

type of number

num T

number to be formatted

output mstring

string in which to store the formatted number

Return Value

Type: mstring

formatted string

Meta