数据精度问题:很简单的问题!!!!救命!马上揭贴
数据精度问题:
create table #ls_table
(sale_value decimal(20,2) default 0 not null,
product_sale_quantity float default 0 not null,
product_sales_price decimal(20,6) default(0) not null)
insert #ls_table
select 290598.29,20000.0,0
select convert(decimal(30,6),(convert(decimal(20,2),sale_value)/product_sale_quantity)) from #ls_table
drop table #ls_table
应为14.529915
14.529914
怎样使它变为14.529915
谢谢!!先