You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have problem with exponential numbers too. The library return a wrong number It just remove e and symbol e.g. when input is dynamically set as 1e-6 the result will be 15!
I use this library with v-mask and, It seems that it doesn't support exponential numbers.
Thanks for any help
export function getCurrencyMask () {
return createNumberMask({
prefix: '',
allowDecimal: true,
decimalLimit: 8,
includeThousandsSeparator: true,
allowNegative: false,
allowLeadingZeroes: true
})
}
<input v-model="toDollarInputModel" v-mask="mask" placeholder="1" type="text" min="0" >
data () { return { mask: getCurrencyMask() } },
The text was updated successfully, but these errors were encountered: