We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui-pantry/packages/vue/index/components/base/ZrRangeSlider.vue
Line 239 in 0dd0bcd
Current output
3.625485748.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,'); "3.625,485,748"
desired change
new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(3.625485748); "$3.63"
code change:
case '$': // format range labels as $ currency const currencyFormatter = new Intl.NumberFormat(this.isoCode, { style: 'currency', currency: this.currencyCode }); minValue || minValue === 0 ? minValueDisplay = currencyFormatter.format(minValue) : ''; maxValue ? maxValueDisplay = currencyFormatter.format(maxValue) : ''; break;
The text was updated successfully, but these errors were encountered:
cbaxter713
florianzaneray
No branches or pull requests
ui-pantry/packages/vue/index/components/base/ZrRangeSlider.vue
Line 239 in 0dd0bcd
Current output
desired change
code change:
The text was updated successfully, but these errors were encountered: