accounting-js - v2.0.3
    Preparing search index...

    Type Alias CurrencyFormat

    Currency format interface.

    Each property represents template string used by formatMoney. Inside this template you can use these patterns:

    • %s - Currency symbol
    • %v - Amount

    Examples:

    '%s %v'   => '$ 1.00'
    '%s (%v)' => '$ (1.00)'
    '%s -- ' => '$ --'
    type CurrencyFormat = {
        neg?: string;
        pos: string;
        zero?: string;
    }
    Index

    Properties

    Properties

    neg?: string

    Currency format for negative values

    pos: string

    Currency format for positive values

    zero?: string

    Currency format for zero values