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

Currency

Type declaration

  • Readonlybase: "cp"

    Baseline currency.

  • Readonlyrate: {
        gp: 100;
        pp: 1000;
        sp: 10;
    }

    Conversion rates in relation to currencyBase base currency.

    • Readonlygp: 100
    • Readonlypp: 1000
    • Readonlysp: 10
  • Readonlystandard: "gp"

    Standard currency. Most things are valued in this unit.