Creates BigDecimal number from RAD BigInt.
import { decimals } from "@protofire/subgraph-devkit";import { BigInt } from "@graphprotocol/graph-ts";const rad = BigInt.fromString("12500000000000000000000000000000000000000000000");decimals.fromRad(rad); // => 12.5;
the BigDecimal representation of the RAD BigInt.
the RAD BigInt number.
Generated using TypeDoc
Creates BigDecimal number from RAD BigInt.
Example
Returns
the BigDecimal representation of the RAD BigInt.