javascript 秒转为分

var t = 182;
console.log( Math.floor(t/60)+":"+(t%60/100).toFixed(2).slice(-2) );
相关文章
相关标签/搜索