formatAmount
Format the Amount to be displayed to the user based on the Locale.
Return
A formatted string displaying currency and value.
Parameters
amount
The amount with currency and value.
locale
The locale the amount will be formatted with.