Formats a number using the specified unit, using the currently active locale.
The number to format
The unit to format the number as
The formatted number
Formats a number using the specified unit, using the currently active locale.