Custom numeric field precision, value after decimal not saved
I have found one bug in custom numeric field. It does not save any value after decimal.
1. Go to custom fields for any module say news or events.( Same applies to field added by code to content block)
2. Add custom numeric field, precision 2 digits after decimal.
3. Create new news/event, set numeric value, in the edit screen it will accept any numeric value even more than 2 digits after decimal point. but in database it will only save the whole number. also for any precision say 1 point or 2 point, in database it will always be set as (decimal(20,0), null)
This is actually a known issue that we already have logged in our tracking system:
Custom field of type "Number" with decimal places rounds the entered number
I subscribed you to this report item so you can track easily its progress. This way you will be automatically notified as soon as it is fixed.
Thanks for the info.