First post I’ve made on devforum for support, I’m honestly just lost at this point and need someone who can hopefully offer a solution.
Basically the problem I’m facing is that currently, me and a few friends are working on an idle game (similar to cookie clicker) and we initially needed a way to store values with precision above 1.e+21 (Roblox’s number limit, or close to). We came across the BigNum library from RoStrap, and that worked well until we came into another issue, it just doesn’t support decimals.
Essentially, we use decimals to create a fair, balanced progression system, so when you buy an upgrade it follows a formula of n*1.5 (n being the price of the upgrade) on every purchase, however, BigNum is unable to support that, instead returning a pseudo math.floor on every calculation, with no way to even use decimals in calculations.
I tried creating BigNum floats by adding a .0 to the end of any integers, but that didn’t work either, instead, returning whole number integers after calculations, and at this point, I’m kinda lost.
Would be dope if someone could send me in the direction of a library (if it exists) that both supports numbers and math above Roblox’s number limit and support for decimal calculations.