feat: Format currency values with zero decimal places

This commit is contained in:
Yoga Pangestu 2026-01-05 21:46:43 +07:00
parent 3371306c0a
commit ab01645ccd

View File

@ -17,7 +17,7 @@ function formatCurrencyNumber(string|int|float|null $value = null, ?string $curr
return ''; return '';
} }
return $currency.Number::format($value, locale: $locale); return $currency.Number::format($value, locale: $locale, precision: 0);
} }
} }