C# 截取两位小数
var price = Math.Floor(price * 100) / 100;
JavaScript 截取两位小数
var price = Math.floor(price * 100) / 100;
原文地址:https://www.cnblogs.com/ChenRihe/p/10294218.html
时间: 2025-02-01 06:42:19
C# 截取两位小数
var price = Math.Floor(price * 100) / 100;
JavaScript 截取两位小数
var price = Math.floor(price * 100) / 100;
原文地址:https://www.cnblogs.com/ChenRihe/p/10294218.html