数据库中定义了列 lc  numeric ,length 9, scale 4,
通过下面的语句写数据库
 m_pRecorder->PutCollect("lc",_variant_t((float)pricesum));
其中pricesum为float,如果pricesum值为8。10输入数据库后就变为8.0999。
这是什么原因,是不是写数据库语句的问题?