如果EnableBCD设为true ,则adDecimal and adNumeric 字段从数据库读出来后放在TBCDField类中,这种类表示数值比较精确,而如果EnableBCD为false则所有的adDecimal\adNumeric\adFloat型的数据都以float型读出来,这样会对数据的精确度有一定的影响。
因为就像英文例子所述:
使用BCD型: 3 * (2/3) = 2
使用Float型:3 * (2/3) = 2.00000000001
因为就像英文例子所述:
使用BCD型: 3 * (2/3) = 2
使用Float型:3 * (2/3) = 2.00000000001