Math.floor(15. * 100) / 100 // 输出结果为 15.77
https://www.jb51.net/article/134067.htm
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/212760.html原文链接:https://javaforall.net
js 保留2位小数Math floor 15 7784514000 100 100 输出结果为 15 77https www jb51 net article 134067 htm
Math.floor(15. * 100) / 100 // 输出结果为 15.77
https://www.jb51.net/article/134067.htm
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/212760.html原文链接:https://javaforall.net