fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (22)
76public static readonly byte MaxPrecision = NUMERIC_MAX_PRECISION; // max SS precision
80public static readonly byte MaxScale = NUMERIC_MAX_PRECISION; // max SS scale
692m_bPrec = NUMERIC_MAX_PRECISION;
726SQLDebug.Check(ulLen <= NUMERIC_MAX_PRECISION, "ulLen <= NUMERIC_MAX_PRECISION", "");
934char[] pszTmp = new char[NUMERIC_MAX_PRECISION + 1]; //Local Character buffer to hold
1054if (cwchStr == 0 || cwchStr > NUMERIC_MAX_PRECISION + 1)
1094if (snResult.m_bPrec > NUMERIC_MAX_PRECISION)
1329 if (ret.FGt10_38() || ret.CalculatePrecision () > NUMERIC_MAX_PRECISION)
1422if (ResPrec > NUMERIC_MAX_PRECISION)
1423ResPrec = NUMERIC_MAX_PRECISION;
1424if (ResScale > NUMERIC_MAX_PRECISION)
1425ResScale = NUMERIC_MAX_PRECISION;
1497SQLDebug.Check(NUMERIC_MAX_PRECISION == ResPrec);
1654ResInteger = Math.Min(ResInteger, NUMERIC_MAX_PRECISION);
1657if (ResPrec > NUMERIC_MAX_PRECISION)
1658ResPrec = NUMERIC_MAX_PRECISION;
1785SQLDebug.Check(m_bScale <= NUMERIC_MAX_PRECISION, "m_bScale <= NUMERIC_MAX_PRECISION", "In AssertValid");
2232if (lAdjust + m_bScale > NUMERIC_MAX_PRECISION)
2236bNewPrec = (byte) (Math.Min(NUMERIC_MAX_PRECISION,Math.Max(1,lAdjust + m_bPrec)));
3059lPosition = Math.Min(NUMERIC_MAX_PRECISION, lPosition);
3065lPosition = Math.Max(-NUMERIC_MAX_PRECISION, lPosition);
3225ssnumTemp.AdjustScale(NUMERIC_MAX_PRECISION - lActualPrec, true);