Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
format(value, format) {
return formatNumber(value, format)
},
decimalChar(format) {
return (format && deconstruct(format).decimalsSeparator) || decimal || '.'
},
precision(format) {
let data = deconstruct(format)
return data.maxRight !== -1 ? data.maxRight : null
}
}
configure.setNumberLocalizer(localizer)
return localizer
}