Allows the progress bar percent value in the style preview to be locale compliant.
mentioned in commit dc875903