Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3592

Allow @Column#scale and @Digits#fraction to derive the min fractional digits (as well as the max)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-RC2
    • 2.0.0-RC3
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: