private static ushort SameScale(ref BigDecimal left, ref BigDecimal right) { var newScale = Math.Max(left.scale, right.scale); left = left.Upscale(newScale); right = right.Upscale(newScale); return(newScale); }
private static ushort SameScale(ref BigDecimal left, ref BigDecimal right) { var newScale = Math.Max(left.scale, right.scale); left = left.Upscale(newScale); right = right.Upscale(newScale); return newScale; }