Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1438

Decimal64.toString() loses negative sign

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 9.0.0, 8.0.6
    • common
    • None

    Description

      Decimal64.toCanonicalString() fails to carry the sign when the integer part is equal to 0. This snippet fails:

      assertEquals("-0.63", Decimal64.valueOf("-0.63").toString());
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: