method BigNumber.prototype.absoluteValueimport { BigNumber } from "https://deno.land/x/web3@v0.11.1/types/bignumber.d.ts"; absoluteValue(): BigNumberReturns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of this BigNumber. Returns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of this BigNumber. The return value is always exact and unrounded. x = new BigNumber(-0.8) x.absoluteValue() // '0.8' ReturnsBigNumber