• Convert given amount of copper to some other currency, excess is placed on less valuable coinage.

    Parameters

    • cp: number

      Copper quantity

    • Optional target: CoinType = "gp"

      Target unit

    Returns {
        cp: number;
        gp: number;
        pp: number;
        sp: number;
    }

    • Resulting conversion
    • cp: number
    • gp: number
    • pp: number
    • sp: number

Generated using TypeDoc