Forked from: https://github.com/Patashu/break_infinity.js
My version of break_infinity.js I mostly doing random changes to fit with my game's code!
- Removed
Decimal.toString()andDecimal.toJson(), since it doesn't allow you to useJSON.Stringify()(at least i remember it being so, probably need to recheck that one. but anyway main reason i did it, Decimal object wasn't able to correctly be saved/loaded with json because of it. now it works like a charm) - Added
doPlus,doMinus,doTimes,doDividefunctions, to change a Decimal object in-place, without creating a new one