Follow Us
Contribute
  • Register

If the fractional amount is rounded for currency conversion, funds could be lost

+3 votes
Encountered this error while trying a make an adaptive payment. no idea how to solve this problem...
requested 6 years ago by Levent Ünver (220 points)

1 Solution

0 votes
It was in Java and you need to use BigDecimal insteaf of double to prevent this error.
solved 5 years ago by Levent Ünver (220 points)

Related errors