In my Solidity smart contract, there is a function that needs to receive an amount as parameter.
This parameter is the value to be used for a transfer function. Considering the user may need to transfer 1.25 Ethers, how can he input this data, as there´s not a data type for it?
But in real life it´s not a good approach asking the user to input somethiing like 18 digits just to mean "1". Is there another way?
– MCreimer Feb 21 '18 at 17:04