Floating point division is not supported in solidity as mentioned here: How can I perform float type division in solidity?
I want to divide two uint256 numbers and save them as a decimal, retaining 10 decimal places of accuracy. Would I need to multiply these numbers by 10000000000 first and then divide them by each other, then save the decimal and then divide the decimal by 10000000000?