Fix for #18260

Number format patterns do not have locale-specific decimal separators. This was causing issues in locale's where the decimal separator was not a period. Fixes #18260