Skip to content

Commit

Permalink
Change defaults to max and min safe integers
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Moorhouse committed Jan 2, 2018
1 parent 45102ed commit c9ac355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Vue.use(money, {precision: 4})
suffix: ' #',
precision: 2,
masked: false,
min: -1000000000,
max: 1000000000,
min: Number.MIN_SAFE_INTEGER,
max: Number.MAX_SAFE_INTEGER
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export default {
thousands: ',',
decimal: '.',
precision: 2,
min: -1000000000,
max: 1000000000
min: Number.MIN_SAFE_INTEGER,
max: Number.MAX_SAFE_INTEGER
}

0 comments on commit c9ac355

Please sign in to comment.