Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3134

C#: Method ToString of AvroDecimal causes ArgumentOutOfRangeException

    XMLWordPrintableJSON

Details

    Description

      Method ToString of class AvroDecimal causes ArgumentOutOfRangeException when Scale is greater than Unscaled number size. Samples:

      • 0.001
      • 0.01

      When Scale as equal as Unscaled number size, the result é wrong, because is missing a "0", Sample:

      • 0.1: in this case the result is ".1"

       

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            tfroes Thiago Froes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m