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

Add Decimal64.valueOf() methods which specify expected precision

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Highest
    • Resolution: Done
    • None
    • 8.0.0
    • None
    • None

    Description

      BGPCEP is a rather heavy user of 'type decimal64', which is now being mapped to yang.common.Decimal64.

      It is instantiating Decimal64 values from either a float or a long. In both cases the model defines that fraction-digits are equal to two and there is some weirdness around it as well.

      Introduce a few methods to predictably create these values.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: