vue-numeric icon indicating copy to clipboard operation
vue-numeric copied to clipboard

Random decimal values being added on the input

Open o-marchi opened this issue 3 years ago • 2 comments

If you are reporting bugs please fill the form below otherwise feel free to delete the form.

Expected Behavior

When the user inputs a value, the correct value should appear on the input, no matter the number of decimal digits.

Actual Behavior

If the decimal digits are set to a big number (in this case 15), some random decimal values are automatically added. This behavior can be reproduced on the official plugin live demo:

image

Steps to Reproduce the Problem

  1. Set the decimal digits to 15
  2. Input the number 1

Specifications

  • Plugin Version: 2.3.0
  • Vue.js Version: 2.6.11
  • Browser: Chrome and Firefox
  • OS: Windows 10

o-marchi avatar Jul 19 '21 14:07 o-marchi

@o-marchi have you been able to solve this somehow?

blackflash avatar Mar 10 '22 10:03 blackflash

CMIIW, I think this is problem with account-js library https://github.com/openexchangerates/accounting.js

kevinongko avatar May 24 '22 03:05 kevinongko