currency: {
    base: "cp";
    rate: {
        gp: 100;
        pp: 1000;
        sp: 10;
    };
    standard: "gp";
} = ...

Currency

Type declaration

  • Readonly base: "cp"

    Baseline currency.

  • Readonly rate: {
        gp: 100;
        pp: 1000;
        sp: 10;
    }

    Conversion rates in relation to currencyBase base currency.

    • Readonly gp: 100
    • Readonly pp: 1000
    • Readonly sp: 10
  • Readonly standard: "gp"

    Standard currency. Most things are valued in this unit.

Generated using TypeDoc