formatNumber

fun formatNumber(value: Any): String

Formats a number (Int or String) into a string with thousands separators.

Return

The formatted string representation of the number.

Parameters

value

The number to format.