rwaltenberg / angular-money-mask

Angular directive to mask inputs with currency values
GNU General Public License v3.0
14 stars 14 forks source link

better check for range instead of string eval #3

Closed lreindl closed 7 years ago

lreindl commented 7 years ago

This is a better way to check if there is a range selected. And also casting the char to an int before overwriting value.

rwaltenberg commented 7 years ago

Nice! Merging