We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f8306 commit beb5cedCopy full SHA for beb5ced
packages/core/src/utils/currency.ts
@@ -603,7 +603,11 @@ export function formatCurrencyStr(
603
let { value: num } = currencyAmount;
604
const { unit } = currencyAmount;
605
606
- const centCurrencies = [CurrencyUnit.USD, CurrencyUnit.MXN] as string[];
+ const centCurrencies = [
607
+ CurrencyUnit.USD,
608
+ CurrencyUnit.MXN,
609
+ CurrencyUnit.PHP,
610
+ ] as string[];
611
/* centCurrencies are always provided in the smallest unit, e.g. cents for USD. These should be
612
* divided by 100 for proper display format: */
613
if (centCurrencies.includes(unit)) {
0 commit comments