I would like to know if I can rely on SafeMath to handle rounding errors.
Example;
amount | 100 |
---|---|
filled | 25 |
ratio amount/filled | 0,25 |
amount - ( amount * ratio/100) | 99,75 |
Will this kind of behavior happen with SafeMath?
Do I have to deal with odds division