ChronoDK/GodotBigNumberClass

it seems minus() plus() not working

desperis1 opened this issue · 4 comments

Hi what am i doing wrong ?
multiply, divide works as expected i have issues with plus, minus operations

Screenshot_20230106_183718

It seems to be a precision limitation in the toString function. The actual value is fine.

Thank you for your response

Hi Again !
Yes value is fine but is there a way how to print this value ?

I'm not sure how to fix it. The string conversion in Godot is very inaccurate.
Anyway, why would you ever print a value like this? You should use AA-notation, scientific-notation or long names. It's done with .toAA(), toScientific() and toLongName()