Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random decimal values being added on the input #112

Open
o-marchi opened this issue Jul 19, 2021 · 2 comments
Open

Random decimal values being added on the input #112

o-marchi opened this issue Jul 19, 2021 · 2 comments

Comments

@o-marchi
Copy link

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
@blackflash
Copy link

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

@kevinongko
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants