You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Daniel Kulp (Jira)" <ji...@apache.org> on 2021/09/13 18:36:00 UTC

[jira] [Resolved] (AVRO-3134) C#: Method ToString of AvroDecimal causes ArgumentOutOfRangeException

     [ https://issues.apache.org/jira/browse/AVRO-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved AVRO-3134.
-------------------------------
    Fix Version/s: 1.11.0
         Assignee: Daniel Kulp
       Resolution: Fixed

> C#: Method ToString of AvroDecimal causes ArgumentOutOfRangeException
> ---------------------------------------------------------------------
>
>                 Key: AVRO-3134
>                 URL: https://issues.apache.org/jira/browse/AVRO-3134
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.10.2
>            Reporter: Thiago Froes
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 1.11.0
>
>
> 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"
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)