--JPStringNumber API JPStringNumber.activate ( sUserToken, sActivationKey ) bYes = JPStringNumber.isStringNumber ( sNum ) --Operations (sNum0 and sNum1 can be a number or a string number) sResult = JPStringNumber.add ( sNum0, sNum1 ) sResult = JPStringNumber.sub ( sNum0, sNum1 ) sResult = JPStringNumber.mul ( sNum0, sNum1 ) sResult = JPStringNumber.div ( sNum0, sNum1 ) bEqual = JPStringNumber.isEqual ( sNum0, sNum1 ) --Math functions (sNum, sNum0, sNum1 and sPow can be a number or a string number) sResult = JPStringNumber.abs ( sNum ) sResult = JPStringNumber.ceil ( sNum ) nCompare = JPStringNumber.compare ( sNum0, sNum1 ) sResult = JPStringNumber.floor ( sNum ) sResult = JPStringNumber.inv ( sNum ) sResult = JPStringNumber.mod ( sNum0, sNum1 ) sResult = JPStringNumber.opp ( sNum ) sPI = JPStringNumber.pi ( nOptDigitsCount ) sResult = JPStringNumber.pow ( sNum, sPow ) sResult = JPStringNumber.round ( sNum )
Good bye to the number type limitations, say hello to JPStringNumber.
With JPStringNumber, you will be able to do operations on numbers containing an infinite count of digits without having to carry about precision loss (1.52416e+018 -_-').
JPStringNumber is able to do most of the math operations on those numbers using their string representation.