function roundUpToNearest100(num) {
return Math.ceil(num / 100) * 100;
}
console.log(roundUpToNearest100(33));
console.log(roundUpToNearest100(159));
console.log(roundUpToNearest100(599.99));
console.log(roundUpToNearest100(43.14));
console.log(roundUpToNearest100(25));
console.log(roundUpToNearest100(419));
console.log(roundUpToNearest100(-12));
console.log(roundUpToNearest100(-101));
console.log(roundUpToNearest100(-199));
/*
run:
100
200
600
100
100
500
0
-100
-100
*/