I am trying to divide BN with a constant and I can't find the right function.
Basically I wanted to divide 132876 by 1.30, 132876/1.30
for BN operations.
Here is a snippet of what I tried.
const gasAmount = new BN(132876)
console.log(gasAmount.div(new BN('1.30')).toString()) // 160
console.log(gasAmount.div(new BN(1.30)).toString()) // 132876
// expected: 102212