You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/09/20 22:45:00 UTC
[jira] [Resolved] (CAUSEWAY-3592) Allow @Column#scale and @Digits#fraction to derive the min fractional digits (as well as the max)
[ https://issues.apache.org/jira/browse/CAUSEWAY-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood resolved CAUSEWAY-3592.
-------------------------------------------
Resolution: Fixed
> Allow @Column#scale and @Digits#fraction to derive the min fractional digits (as well as the max)
> --------------------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3592
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3592
> Project: Causeway
> Issue Type: New Feature
> Components: Core
> Affects Versions: 2.0.0-RC2
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0-RC3
>
>
> Currently @Digits(scale=2) means that a big decimal (say) of "123.00" would be rendered as "123" (while "123.45" would be rendered as "123.45". This change is so that both are rendered to the scale number of decimal places.
> A config property will be provided to support the original behaviour.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)