Amount is represented in the smallest unit format on chain, this function converts a human readable amount format to the smallest unit format
The value in human readable format
The token decimal
The value is smallest units
human readable amount format: 500on chain amount format when decimal is 8: 50000000000 Copy
human readable amount format: 500on chain amount format when decimal is 8: 50000000000
Amount is represented in the smallest unit format on chain, this function converts a human readable amount format to the smallest unit format