->money() is rounding?
Using this text column
is not keeping two decimal places. How do we ensure it is formatted two 2 decimals / relative to the currency? The state is correct i.e. 160.02, but the displayed money value is £160
2 Replies
->numeric(decimalPlaces: 2)
No, that overrides money(). numeric isn't the issue as we already format it earlier and it's already 160.02. But money rounds it.