I am trying to migrate safeMath code to solidity 8, I have almost all arithmetic operations except div
TypeError: Member "div" not found or not visible after argument-dependent lookup in uint256.
currentShares = (_amount * (totalShares)).div(pool);
In the documentation they talk about a new property, but I am not sure how to implement it Panic(uint256)
EDIT: Could this be the simple solution that it could be?
currentShares = (_amount * (totalShares)) / (pool);