format

open fun format(input: Int): String(source)

Formats an integer value as a string with a currency-style comma separator.

Return

the formatted string

Parameters

input

the integer value to format


open fun format(input: Double): String(source)

Formats a double value as a string with a currency-style comma separator.

Return

the formatted string

Parameters

input

the double value to format