docs: format currency api (#32107)

PR Close #32107
This commit is contained in:
Judy Bogart 2019-08-12 10:58:39 -07:00 committed by Kara Erickson
parent 9406104c0a
commit c68371ed14
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ function formatNumberToLocaleString(
* such as "$" or "Canadian Dollar". Used in output string, but does not affect the operation
* of the function.
* @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
* currency code to use in the result string, such as `USD` for the US dollar and `EUR` for the euro.
* currency code, such as `USD` for the US dollar and `EUR` for the euro.
* Used to determine the number of digits in the decimal part.
* @param digitInfo Decimal representation options, specified by a string in the following format:
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
*