📜  js arrotondare Superiore numero - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:10.581000             🧑  作者: Mango

代码示例7
var c = Math.round(-2.7);       // c is now -3
var c = Math.round(-2.5);       // c is now -2