All of tokens have
decimals property, e.g. WBNB token has 18 decimals.
If there was a dex pair using different decimals, then we would first need to divide both sides before we calculate rates.
(token0 / pow(10, decimals0)) / (token1 / pow(10, decimals1))
What's the reason we need
decimals as opposed to just having all tokens use the same base?
Is this is a limitation / optimization of solidity?