js除数取余数

js除数取余数

function x(a, b) {var n1 = abvar n2 = a % breturn [n1, '.0', n2].join('')}javascript取模运算是一个表达式的值除
JavaScript80