Skip to content

Commit c9ac355

Browse files
author
Cody Moorhouse
committed
Change defaults to max and min safe integers
1 parent 45102ed commit c9ac355

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Vue.use(money, {precision: 4})
5151
suffix: ' #',
5252
precision: 2,
5353
masked: false,
54-
min: -1000000000,
55-
max: 1000000000,
54+
min: Number.MIN_SAFE_INTEGER,
55+
max: Number.MAX_SAFE_INTEGER
5656
}
5757
}
5858
}

src/options.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export default {
44
thousands: ',',
55
decimal: '.',
66
precision: 2,
7-
min: -1000000000,
8-
max: 1000000000
7+
min: Number.MIN_SAFE_INTEGER,
8+
max: Number.MAX_SAFE_INTEGER
99
}

0 commit comments

Comments
 (0)