Suppose i have a contract with decimals and total Supply as follow. How can i check if tokenAmountInWei pass in is integer value in form of ether.
decimals = 18
totalSupply = 1000000
function someFunction(uint tokenAmountInWei) {
// check if tokenAmountInWei convert to ether is integer value
}