Eternitynum issues

I have been using eternityNum for an incremental game i have been working on but issue is when i add Perks - resource on each level. It gets rounded to 0.99 instead of 1. Because of this i can not but the upgrade as eternityNum cuts of small parts of resources, anyone know what can i do here so it doesnt happen. Like modify the module so it calculates with more decimals bur returns smaller one or smth?

What is eternitynum and why do you need to use it in this case?

Its a module that allows you to do maths above math.huge, i use it to calculate stuff and save values as string objects

I menaged to resolve the issue, i wrote custom eternitynum.round function which fixes those offsets

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.