DigitGrouping.format

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

class DigitGrouping
static
mstring
format
(
T
)
(
T num
,
ref mstring output
)

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