Formats the given value to a specific scale and separates the thousands with a separator.
The value to be formatted.
Optional
The number of decimal places to round to.
The separator for thousands.
The formatted value.
Formats the given value to a specific scale and separates the thousands with a separator.