Skip to content

Commit 62df4da

Browse files
committed
Small fix
1 parent d47d871 commit 62df4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/other/number.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import util from '../util/index'
99

1010
function number (value, format, options) {
1111
const globalOptions = (this && this.number) ? this.number : {}
12-
options = options || globalOptions
1312
format = util.exist(format) ? format : globalOptions.format
13+
options = options || globalOptions
1414
const config = parseFormat(format)
1515
const number = parseNumber(value)
1616
const thousandsSeparator = options.thousandsSeparator != null ? options.thousandsSeparator : ','

0 commit comments

Comments
 (0)