Javascript – Floor bigint to readable value
I'm trying to get readable results from this: const rate = (648735n * 10n**36n) / 124124124n; I get this result: rate = 5226502142323276335871663432645856n But result should be something like this: 5226500000000000000000000000000000n Is there any way to achieve this? Something like…