mysql 计算并保留两位小数

it2022-05-05  97

保留两位小数:

1、select convert(10000,decimal(10,2));

2、select convert(10569.3645,decimal(10,2));

3、select convert(10569.3685,decimal(10,2));

 

转载于:https://www.cnblogs.com/mucheng/p/7055183.html


最新回复(0)