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

Decimal64.toString() loses negative sign

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 9.0.0, 8.0.6
    • None
    • common
    • None

      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());
      

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

              Created:
              Updated:
              Resolved: