Added 2 functions:
convertToBase and convertFromBase
convertToBase takes a number and multiplies it by 10^6 to (generally) send to the smart contracts
convertFromBase takes a number and multiples it by 10^-6 to (generally) convert values coming from queries
replaced anything with Math.pow() with one of these convert functions
Added 2 functions: convertToBase and convertFromBase
convertToBase takes a number and multiplies it by 10^6 to (generally) send to the smart contracts convertFromBase takes a number and multiples it by 10^-6 to (generally) convert values coming from queries
replaced anything with
Math.pow()
with one of these convert functions