• Creates BigDecimal number from Int.

    Example

    import { decimals } from "@protofire/subgraph-devkit";

    decimals.fromInt(9223372036854775807);

    Returns

    the BigDecimal representation of the Int.

    Parameters

    • value: number

      the Int number.

    Returns BigDecimal

Generated using TypeDoc