We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47d871 commit 62df4daCopy full SHA for 62df4da
src/other/number.js
@@ -9,8 +9,8 @@ import util from '../util/index'
9
10
function number (value, format, options) {
11
const globalOptions = (this && this.number) ? this.number : {}
12
- options = options || globalOptions
13
format = util.exist(format) ? format : globalOptions.format
+ options = options || globalOptions
14
const config = parseFormat(format)
15
const number = parseNumber(value)
16
const thousandsSeparator = options.thousandsSeparator != null ? options.thousandsSeparator : ','
0 commit comments