Closed GopinathKaliappan closed 4 years ago
var x = (0.2 10 + 0.1 10) / 10;
When we work with decimals in banking and Crypto currencies , It matters a lot so we can go with this method.
That basically amounts to working with integers, which I have mentioned here: https://floating-point-gui.de/formats/integer/
var x = (0.2 10 + 0.1 10) / 10;
When we work with decimals in banking and Crypto currencies , It matters a lot so we can go with this method.