Allows the progress bar percent value in the style preview to be locale compliant. (cherry picked from commit 2090da8a)