• Format as currency.

    Parameters

    • amount: number
    • Optionallocales: LocalesArgument = "de-DE"
    • Optionalcurrency: null | string = 'eur'

    Returns string