like that:
10000000000000*1.03+4000000000000
I know that solidity doesn't have any . numbers. so I've tried to replace 1.03 with BasePoint equivalent, but it seems wrong, because I got different result.
10000000000000*1003/10000+4000000000000
how to transform numbers like 1.03 properly?
How did you got 1003 from 1.03
1003 != 103, fix it
I've tried this too but result is still different
Just add more zeros. More zeros = more better
Обсуждают сегодня