feat: Format currency values with zero decimal places
This commit is contained in:
parent
3371306c0a
commit
ab01645ccd
@ -17,7 +17,7 @@ function formatCurrencyNumber(string|int|float|null $value = null, ?string $curr
|
||||
return '';
|
||||
}
|
||||
|
||||
return $currency.Number::format($value, locale: $locale);
|
||||
return $currency.Number::format($value, locale: $locale, precision: 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user