I think this applies both to the Numbas runtime and the editor, since the "accepted number notation styles" settings are in the editor and don't necessarily match the locale.
Each locale should have a preferred number notation, which is used by default when displaying numbers. This should be available in JS in something like Numbas.locale.preferred_notation, and probably also as a variable in marking algorithms.
I think this applies both to the Numbas runtime and the editor, since the "accepted number notation styles" settings are in the editor and don't necessarily match the locale.
Each locale should have a preferred number notation, which is used by default when displaying numbers. This should be available in JS in something like
Numbas.locale.preferred_notation
, and probably also as a variable in marking algorithms.