F
Filamentβ€’2y ago
Atena.D

How to number_format numbers in the tables?

Hi. I have some prices in Filament table builder and I want to number_format them e.g. convert 1234567 to 1,234,567
2 Replies
toeknee
toekneeβ€’2y ago
You can use formatStateUsing(fn($state) => number_format((int) $state, 2) as an example
Atena.D
Atena.DOPβ€’2y ago
Thanks πŸ‘
Want results from more Discord servers?
Add your server