I have variable: TokenPriceWei = 2000 , that means I set 1 token price for 2000 Wei.
When I get msg.value , is it correct tokensAmount = (msg.value / TokenPriceWei) to get correct token Amount?
I'm wondering because i've seen some examples and none of them do that when calculating token /wei rate.