Refactor #1019

Use a Decimal Library for Entry Form Javascript

Added by Anonymous over 3 years ago. Updated over 3 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

0%

Category:Journal EntriesSpent time:-
Target version:v0.13.0 - Documentation
Easy Pickings:Yes

Description

Using raw floats causes slight inaccuracies in the Out of Balance and Total counters. we should use a decimal library that fixes this:

https://github.com/MikeMcl/big.js
https://github.com/MikeMcl/decimal.js/


Related issues

Related to Acorn Accounting - Bug #1021: Out of Balance Counter Unnecessarily Shows 4 Decimal Places New

History

#1 Updated by Pavan Rikhi over 3 years ago

  • Easy Pickings set to Yes

#2 Updated by Pavan Rikhi over 3 years ago

  • Related to Bug #1021: Out of Balance Counter Unnecessarily Shows 4 Decimal Places added

Also available in: Atom PDF