@stricahq/typhonjs - v4.0.0
    Preparing search index...

    Type Alias Rational

    Rational: number | string | [number | bigint, number | bigint]

    An exact non-negative rational, the way the chain stores prices and thresholds (tag 30).

    • a decimal number or string: 0.0577, "0.0577", "7.21e-5", read as written and converted to lowest terms
    • a fraction string: "577/10000"
    • a [numerator, denominator] pair