3 Digits (2.523) on Nova Number or Currency field #5250
-
I thought setting the step to 0.001 or 'any' allows three digits. But after saving the input, it applies a rounding. Any Idea how to get this work?
Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can't use the default Currency field for this. In order to avoid rounding issue we also check the step against currency minimum step (default to USD) |
Beta Was this translation helpful? Give feedback.
-
Many thx for the feedback But the multiplicator field is a number field. |
Beta Was this translation helpful? Give feedback.
-
Problem solved, the default Database setting for float is (8,2).
|
Beta Was this translation helpful? Give feedback.
Problem solved, the default Database setting for float is (8,2).
$table->float('multiplicator', 8, 4)->nullable();