Double values are truncated /rounded
Open
relates-to: grails-fields
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
When defining a property type 'double', the resulting scaffolding forms will display only 3 decimals of it, and, even worse, when editing the prefilled value will be rounded and not the value in the database.
Contributor guide
Research direction
Start by reproducing the issue with a Grails property declared as type 'double' and inspect the generated scaffolding forms for display and editing behavior. Trace the scaffolding entry point and any relevant form or number-formatting code; done means preserving the database value and displaying more than three decimals without rounding the prefilled value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100