You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Hub Operator
I want to support processing of amounts as decimals during internal processing while supporting the maximum precision as specified in the API Definition along with enforcing precision based on currency
so that requests with input values for amounts that only conform to the conditions based on currency are accepted and the others are rejected (via error callbacks) and the 'zero sum' of the system is maintained
This specific story is for the Mojaloop Decimal Library
Tasks:
Present options for the library after investigation, for review
bignumbers.js library selected as number library
create basic functionality as a POC i.e (add, subtract, multiply, divide)
review POC and validate that the selected library fulfils requirements
Mojaloop Numbers Library implementation that uses decimal processing of amounts/ numbers
Future Roadmap: We should consider using this library to include ISO Currency enums, validation, and also config for MLNumbers based on currency config
rmothilal
changed the title
Implement BigNumber library to do all numerical processing wrapped in a Mojaloop Decimal Library
Implement BigNumber library to do all numerical processing wrapped in a Mojaloop Number Library
Sep 5, 2019
Goal:
As a Hub Operator
I want to support processing of amounts as decimals during internal processing while supporting the maximum precision as specified in the API Definition along with enforcing precision based on currency
so that requests with input values for amounts that only conform to the conditions based on currency are accepted and the others are rejected (via error callbacks) and the 'zero sum' of the system is maintained
This specific story is for the Mojaloop Decimal Library
Tasks:
Acceptance Criteria:
Pull Requests:
Follow-up:
Future Roadmap:
We should consider using this library to include ISO Currency enums, validation, and also config for MLNumbers based on currency config
Dependencies:
Accountability:
The text was updated successfully, but these errors were encountered: