题解 | #数字取整#
数字取整
https://www.nowcoder.com/practice/1e45f1d1e1674e79807f82743f8b8f0a
也许是最原始的方法?
function _int(value) {
return Number(value.toString().split(".")[0]);
}
数字取整
https://www.nowcoder.com/practice/1e45f1d1e1674e79807f82743f8b8f0a
也许是最原始的方法?
function _int(value) {
return Number(value.toString().split(".")[0]);
}
相关推荐
查看3道真题和解析