NumericFormat setup in configuration

It would be nice to set a numeric format in an appsetings.json file as DateTime format.

Would that be a generic setting or would it be part of the localization?

As proposed by @JiriPrajz it should be part of locale settings, like date format.