The numeric value to format
The unit identifier, such as day, hour, or meter
Optionallocale: LocaleInput
The locale to use for formatting
The unit display style
The localized unit string, or the value and unit separated by a space if formatting fails
Formats a numeric value with a localized unit.