智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/be/be135cd824ebfd7b40ebf01ec19...

9 lines
181 B

var toNum = require('./toNum');
exports = function(val) {
if (!val) return val === 0 ? val : 0;
val = toNum(val);
return val - (val % 1);
};
module.exports = exports;