To avoid having too many Intl.NumberFormat and Intl.<...> adjacent spreaded around the code base and considering that not all browsers supports it for sure, and that there's the possibility that the code base making assumption that asking for using a locale (e.g. fr-CA) from the code base will be handled gracefully from a browser that doesn't have the language installed.
Let's have a way to have formatting created by a predictable way. Allow flexibility to have almost complete data configuration object we can get and hints about what's missing if we use them directly as they're returned.
This Gist is a follow up on continuing for other number formats than temperature so we get a uniform
Intl.NumberFormatOptionsand don't have too many of the following with just a slight variation.