Wrong money formatting

I'm formatting the money with ->money() on the TextColumn. EUR (€ 27,90) & PLN (27,90 zł) look OK, while USD ($0.28) & CHF (CHF0.28) are divided by 100. Example call:
            Tables\Columns\TextColumn::make('regular_price')
                ->label('Regular Price'))
                ->money('CHF')
                ->toggleable(),

The data comes directly from the DB, returned with Eloquent.
Am I missing something?

I noticed that this is only for the currencies that have in config/money.php 'decimal_mark' => '.'. If I change that separator to ',' at least he amounts are not multiplied by 100, like for CHF it displays CHF27,90.
Was this page helpful?