I just started writing some solidity and I noticed that there are no decimal values such as double or float.
What do you guys do when you need to return send to a wallet let's say 1.57 ether? Or when you need to calculate 1/2 = 0.5?
I'm very confused – I tried doing something like
var a = 0.5; but it gives me an error that says
Invalid literal value.