({
price,
type = NumberType.FiatTokenPrice,
locale,
localCurrency,
conversionRate,
}: FormatFiatPriceOptions)
| 651 | } |
| 652 | |
| 653 | function formatFiatPrice({ |
| 654 | price, |
| 655 | type = NumberType.FiatTokenPrice, |
| 656 | locale, |
| 657 | localCurrency, |
| 658 | conversionRate, |
| 659 | }: FormatFiatPriceOptions): string { |
| 660 | return formatNumberOrString({ input: price, type, locale, localCurrency, conversionRate }) |
| 661 | } |
| 662 | |
| 663 | const MAX_AMOUNT_STR_LENGTH = 9 |
| 664 |
no test coverage detected
searching dependent graphs…