15 writes to m_bScale
System.Data (15)
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (15)
480
m_bScale
= (byte)0;
522
m_bScale
= (byte)((int)(sgnscl & 0xff0000) >>16);
557
m_bScale
= 0;
586
m_bScale
= 0;
602
m_bScale
= bScale;
637
m_bScale
= bScale;
753
m_bScale
= (byte)(ulLen < DBL_DIG ? DBL_DIG - ulLen : 0);
788
m_bScale
= bScale;
1010
snResult.
m_bScale
= 0;
1086
snResult.
m_bScale
= 0;
1090
snResult.
m_bScale
= (byte) (snResult.m_bPrec - lDecPnt);
2239
m_bScale
= bNewScale;
2272
m_bScale
= bNewScale;
2957
m_bScale
= 0;
3268
this.
m_bScale
= dec.m_bScale;
41 references to m_bScale
System.Data (41)
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (40)
430
precision = Math.Max(precision,
m_bScale
);
754
m_bPrec = (byte)(ulLen +
m_bScale
);
757
if (
m_bScale
> 0) {
758
ulLen =
m_bScale
;
862
return
m_bScale
;
953
while (iDigits <=
m_bScale
) {
963
if (
m_bScale
> 0) {
977
if (iDigits-- ==
m_bScale
)
1125
dRet /= System.Math.Pow(10.0,
m_bScale
);
1134
if ((int)m_data4 != 0 ||
m_bScale
> 28)
1137
return new Decimal((int)m_data1, (int)m_data2, (int)m_data3, !IsPositive,
m_bScale
);
1218
MyScale = x.
m_bScale
;
1219
OpScale = y.
m_bScale
;
1414
ActualScale = x.
m_bScale
+ y.
m_bScale
;
1416
ResInteger = (x.m_bPrec - x.
m_bScale
) + (y.m_bPrec - y.
m_bScale
) + 1;
1647
bScaleD = x.
m_bScale
;
1649
ResScale = Math.Max(x.
m_bScale
+ y.m_bPrec + 1, x_cNumeDivScaleMin);
1650
ResInteger = x.m_bPrec - x.
m_bScale
+ y.
m_bScale
;
1665
lScaleAdjust = ResScale - (int)x.
m_bScale
+ (int)y.
m_bScale
;
1785
SQLDebug.Check(
m_bScale
<= NUMERIC_MAX_PRECISION, "m_bScale <= NUMERIC_MAX_PRECISION", "In AssertValid");
1786
SQLDebug.Check(
m_bScale
<= m_bPrec, "m_bScale <= m_bPrec", "In AssertValid");
1787
SQLDebug.Check(
m_bScale
>= 0, "m_bScale >= 0", "In AssertValid");
2228
if (lAdjust +
m_bScale
< 0)
2232
if (lAdjust +
m_bScale
> NUMERIC_MAX_PRECISION)
2235
bNewScale = (byte) (lAdjust +
m_bScale
);
2315
int lScaleAdjust = scale - (int)ret.
m_bScale
;//Adjustment to scale
2714
ScaleDiff = ((int)
m_bScale
) - ((int) snumOp.
m_bScale
);
2938
int iAdjust =
m_bScale
;
2988
if (n.
m_bScale
== 0)
3017
if (n.
m_bScale
== 0)
3060
if (lPosition >= n.
m_bScale
)
3068
if (lPosition < n.
m_bScale
- n.m_bPrec) {
3075
int lAdjust = Math.Abs(lPosition - (int)n.
m_bScale
); // Precision adjustment
3110
lAdjust = Math.Abs(lPosition - n.
m_bScale
);
3268
this.m_bScale = dec.
m_bScale
;
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (1)
376
ssnumTemp.AdjustScale (-ssnumTemp.
m_bScale
, false);