I'm trying to convert a big number to decimal but when ever I call to string it always returns 0
import { BigNumber } from 'ethers';
const destDenominator = BigNumber.from((10 ** 18).toString());
const minReceived = BigNumber.from('4560000000000000').div(destDenominator);
When ever I call toString it always returns 0. How do I get a decimal value from when dividing two big ints?
This can be done using Percent.