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

Kalle Niemitalo updated AVRO-4162:
----------------------------------
    Summary: C# AvroDecimal.CompareTo claims 1.55 > 2.5  (was: C# 
AvroDecimal.CompareTo )

> C# AvroDecimal.CompareTo claims 1.55 > 2.5
> ------------------------------------------
>
>                 Key: AVRO-4162
>                 URL: https://issues.apache.org/jira/browse/AVRO-4162
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.12.0
>            Reporter: Kalle Niemitalo
>            Priority: Major
>
> {{new AvroDecimal(unscaledValue: 155, scale: 2).CompareTo(new 
> AvroDecimal(unscaledValue: 25, scale: 1))}} returns 1, but it should return a 
> negative number because 1.55 < 2.5.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to