BigDecimal with scale of more than 3 gets truncated.
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
See issue defined here: [grails/grails-core/issues/11241](https://github.com/grails/grails-core/issues/11241)
Basically, if your domain object has a BigDecimal with scale of more than 3, the value gets truncated in etc.
I was advised to raise this issue in this project rather than the grails project.
People have indicated a workaround is to implement something in grails-app/views/_fields/bigDecimal/_displayWidget.gsp, but it would be much better if we could fix the actual issue if feasible.
Contributor guide
Research direction
Start with grails-app/views/_fields/bigDecimal/_displayWidget.gsp and compare its behavior with the linked grails-core issue 11241. Reproduce the display of a BigDecimal with scale greater than 3, then verify that the rendered value is no longer truncated.
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
- Mostly clear
- Newbie friendliness
- 35/100