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 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)
ggrg
changed the title
Modify DB amount/currency fields from 2 decimal point precision to 4
Modify DB amount/currency fields from 2 decimal point scale to 4
Aug 26, 2019
Goal:
As a Hub Operator
I want to support 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)
Tasks:
parseFloat((a + b).toFixed(Config.AMOUNT.SCALE))
[@ggrg]Implement & enforce currency decimal point precision validation in Prepare handlerAcceptance Criteria:
Validation based on currency for precision is put in place (error callbacks)Pull Requests:
Follow-up:
Dependencies:
Accountability:
The text was updated successfully, but these errors were encountered: