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

Normalize Decimal64 scale in range constraints

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 10.0.0
    • parser

    Description

      yang.model.ri.type.DecimalTypeBuilder normalizes range constraints to Decimal64, but does not ensure these values also match the selected fraction-digits.

      Update it so that it considers scales from base ranges and normalizes all values encountered to those fraction-digits.

      Attachments

        Issue Links

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

          Activity

            People

              ojo Oleksandr Zharov
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: