Skip to content

[Bug]: Issue in arithmetics in PDF forms #18735

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

Closed
PeterKraus opened this issue Sep 11, 2024 · 3 comments · Fixed by #18737
Closed

[Bug]: Issue in arithmetics in PDF forms #18735

PeterKraus opened this issue Sep 11, 2024 · 3 comments · Fixed by #18737

Comments

@PeterKraus
Copy link

Attach (recommended) or Link to PDF file

I cannot attach the file to a public repository, as it concerns an order sheet which could be abused. Please contact me via email - peter dot kraus at tu-berlin dot de and I will share the file with you.

Web browser and its version

Firefox 130.0

Operating system and its version

Windows 10

PDF.js version

Whatever is in Firefox 130.0

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Type 302.80 into order total field
  2. Select 7% VAT which calculates it to be 21.20 (which is correct)
  3. The sum is 323.00 instead of 324.00

What is the expected behavior?

9f5492c4-2599-4deb-aa27-9f1f52d5a733

Correct sum in Foxit.

What went wrong?

bb3eb5d4-c51c-4166-9bd9-ade43aa11e95

Incorrect sum in pdf.js (Firefox 130)

Link to a viewer

No response

Additional context

No response

@calixteman
Copy link
Contributor

You can file a bug in the Firefox pdf viewer component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=PDF%20Viewer
and check the box to make it only visible by Mozilla employees:
image

If you prefer sending it to me, you can, please use my mozilla email (I'm the owner of the above component, so you'll be able to find my email address in the page).

@PeterKraus
Copy link
Author

PeterKraus commented Sep 11, 2024

I hope I set the permissions correctly:
https://bugzilla.mozilla.org/show_bug.cgi?id=1918115

@PeterKraus
Copy link
Author

Magic. Thanks!

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