I have a decimal field for money in my model and I am noticing erroneous results when trying to add some number to this field.
Upon further inspection, I found that the decimal field is being cast as a string,
like "1245114.00"
in the tinker console.
I checked the table structure and I can verify that the field is indeed decimal(11,3)
.
This question was asked before but has no answers.
Why is this happening?