Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1216

issue in netui formatNumber tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0, 1.0.1, 1.0.2
    • V.Next
    • NetUI
    • None

    Description

      The following is the code snippet

      <netui:span value="999999999999999999.97">
      <netui:formatNumber pattern="#,###.##" type="currency" />
      </netui:span>

      produces the result 1,000,000,000,000,000,000

      The issue is identified in FormatNumber tag class, instead of using double, usage of BigDecimal resolves the issue. I shall attach the patch file. Please submit this if it is okay.

      Attachments

        1. patch.txt
          1 kB
          Poornachandran

        Activity

          People

            jzhuo Julie Zhuo
            chandran.poorna@gmail.com Poornachandran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: