Page 1 of 1

defualt LargeIntPrecision is 0 or 18?

Posted: Mon 09 Aug 2010 04:58
by easyblue
When I check the source code of Oraclass.pas (v6.90.0.59),
var
SmallintPrecision: integer = 0;
IntegerPrecision: integer = 9;
LargeIntPrecision: integer = 0; // default of LargeIntPrecision is 0 not 18?
FloatPrecision: integer = 15;
BCDPrecision: string = '14,4';
Is it an typo error? According to document, the default of LargeIntPrecision should be 18?

Posted: Mon 09 Aug 2010 13:36
by bork
Hello

If the LargeIntPrecision global variable is 0, then ODAC uses its own default value for LargeIntPrecision (=18). If the LargeIntPrecision global variable is changed to any value different from 0, then ODAC will use this value.