for example 5/2? Can you give an example?
Hi, we haven't decimal in solidity So (5 × 100 )/ 2 ÷ 10 calculating 1 decimal for example
Thanks. I also saw a SafeMath has a function div, what is the purpose of this function if it can't divide without rounding?
Safemath ensures precondition before the div operation is met.
Обсуждают сегодня