Numbers

Arithmetic, remainder, and Math.

There is one number type. % is remainder. Math.round is rounding.

Goal

Log units times price and a remainder.

const units = 12;
const price = 40;
console.log(units * price);
console.log(10 / 4);
console.log(Math.floor(10 / 4));
console.log(10 % 4);
console.log(Math.max(12, 8, 5));
console.log(Math.round(18.6));
console.log(Number("12") + 1);
console.log(Number("nairobi"));