Describe the bug, including details regarding any error messages, version, and platform.
The following throws an exception even though it could return a precise result:
var array = new Decimal256Array.Builder(new Decimal256Type(76, 38)).Append(2422.85527600000m).Build();
System.Console.WriteLine(array.GetValue(0));
In general, we could also consider allowing a consumer to say "I'm okay with truncating a value whose scale fits in a SqlDecimal or System.Decimal but for which I'd lose digits of precision."
Describe the bug, including details regarding any error messages, version, and platform.
The following throws an exception even though it could return a precise result:
In general, we could also consider allowing a consumer to say "I'm okay with truncating a value whose scale fits in a
SqlDecimalorSystem.Decimalbut for which I'd lose digits of precision."