An exact fraction representation. parseExactDecimal returns a reduced, non-negative value; initial-price inputs must also be positive.

interface ExactFraction {
    numerator: bigint;
    denominator: bigint;
}

Properties

numerator: bigint
denominator: bigint