jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Precision '0' strange behavior with thousands '.' #39

Closed JohnniePeixoto closed 3 years ago

JohnniePeixoto commented 3 years ago

Hello,

I've noticed that when precision is set to 0 the result is crazy with some range of numbers. Look this example: https://codesandbox.io/s/v-money3-use-as-component-forked-1gsou?file=/src/App.vue

I'm trying to use with thousand delimiter but only integer numbers (no precision).

jonathanpmartins commented 3 years ago

Solved on 3.17.1. Thanks for reporting!