IssueRaiser

This is actually a bit of an annoying problem for us!

This is actually a bit of an annoying problem for us! All the 1040 instructions say to round all figures at the end. So it is expected that you would have a few cases of 1.49 + 1.49 = 3 showing as 1 + 1 = 3. But the freefilefillableforms supported by IRS rounds all input and then does addition based on that. For now we just maintain all cents and do math with the precise numbers, then round at the end when the numbers need to go into the forms. We have some work in the pipeline now to make that user-configurable too.

Posted by zakpatterson on Mar 30, 2022, 1:00 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

hackernews (Other)

This is actually a bit of an annoying problem for us!

zakpattersonMar 30, 2022, 1:00 AM

This is actually a bit of an annoying problem for us! All the 1040 instructions say to round all figures at the end. So it is expected that you would have a few cases of 1.49 + 1.49 = 3 showing as 1 + 1 = 3. But the freefilefillableforms supported by IRS rounds all input and then does addition based on that. For now we just maintain all cents and do math with the precise numbers, then round at the end when the numbers need to go into the forms. We have some work in the pipeline now to make that user-configurable too.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue