Skip to content

Commit 44522d0

Browse files
authored
Update number.js
1 parent 377dbf4 commit 44522d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

formatters/number.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ function formatN (d, precision) {
155155
*
156156
*/
157157
function formatC (d, precisionOrFormat) {
158+
if (d == null) let a=3;
158159
if (d !== null && typeof d !== 'undefined') {
159160
var _locale = locale[this.lang] || locale.en; // TODO optimize, this test should be done before
160161
var _currency = this.modifiedCurrencyTarget || this.currency.target;

0 commit comments

Comments
 (0)