Pavel, I see that you are the main contributor of Ignite.NET. We should repair BinaryUtils#ReadDecimal and BinaryUtils#WriteDecimal.
*ReadDecimal: byte[] mag = ReadByteArray(stream); // including at least one sign bit, which is (ceil((this.bitLength() + 1)/8)) bool neg = (mag[0] < 0); if (scale < 0) // TODO: a scale of -3 means the unscaled value is multiplied by 1000 *WriteDecimal: int sign = vals[3] < 0 ? -1 : 0; stream.WriteInt(sign); Can you help with this task? 2017-01-31 12:46 GMT+03:00 Igor Sapego <isap...@gridgain.com>: > Vyacheslav, > > I had a look at your PR and left some comments in Jira. > > Best Regards, > Igor > > On Mon, Jan 30, 2017 at 12:52 PM, Vyacheslav Daradur <daradu...@gmail.com> > wrote: > > > Hello. I fixed it. Please, review. > > > > https://issues.apache.org/jira/browse/IGNITE-3196 - Marshaling works > wrong > > for the BigDecimals that have negative scale > > >