-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Subject of the issue
In AMAP, we should use integers for money balance in AMAP or Tombola. We could avoid rounding errors.
Your environment
- Version of Hyperion: latest main
- Operating system: debian
Steps to reproduce
Create a balance in AMAP. Add money, create an order, and delete the order. Repet the operation if the issue does not occur.
Expected behaviour
We get the exact same money we added when creating the balance.
Actual behaviour
Some roundings errors can happen, which can lead to losing 0.000000...1€