Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value: function formatWrapper(num) {
// http://2ality.com/2012/03/signedzero.html
// https://github.com/ant-design/ant-design/issues/9439
if (isNegativeZero(num)) {
return '-0';
}
if (this.props.formatter) {
return this.props.formatter(num);
}
return num;
}
}, {
formatWrapper(num) {
// http://2ality.com/2012/03/signedzero.html
// https://github.com/ant-design/ant-design/issues/9439
if (isNegativeZero(num)) {
return '-0';
}
if (this.props.formatter) {
return this.props.formatter(num);
}
return num;
}