CIA Compliance Manager API Documentation - v0.8.20

    Function formatCurrency

    • Formats a number as currency with proper thousands separators

      Parameters

      • value: number

        The number to format as currency

      • Optionaloptions:
            | string
            | {
                currency?: string;
                locale?: string;
                maximumFractionDigits?: number;
                minimumFractionDigits?: number;
            }

        Formatting options or currency code string for backward compatibility

      • Optionallocale: string

        Optional locale for backward compatibility

      Returns string

      Formatted currency string

    MMNEPVFCICPMFPCPTTAAATR