sprintf("%.2f",substr(sprintf("%.3f", 50*0.93), 0, -2)) 转载于:https://www.cnblogs.com/shaoing/p/10488568.html