money() format on Infolist
How to remove trailling .00 from money() format on Infolist?
So I would like 250.00 to show as 250, but 250.12 should keep decimals.
Infolists\Components\TextEntry::make('price')
->label('Price')
->translateLabel()
->money(config('settings.currency'))
->color('secondary'),So I would like 250.00 to show as 250, but 250.12 should keep decimals.