We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05efcae commit 276105eCopy full SHA for 276105e
Orm/Xtensive.Orm.SqlServer/Sql.Drivers.SqlServer/InternalHelpers.cs
@@ -144,7 +144,7 @@ internal static decimal TruncateToNetDecimal(SqlDecimal sqlDecimal)
144
var u128 = FromSqlDecimalData(sqlDecimal.Data); // sqlDecimal.Data allocates a new array
145
146
for (; scale > 0 && u128 > Max96bitValue; --scale) {
147
- u128 = UInt128.DivRem(u128, Ten).Quotient;
+ u128 /= Ten;
148
}
149
150
if (u128 > Max96bitValue) {
0 commit comments