function roundUpToNearest100(num) {
return Math.ceil(num / 100) * 100;
}
console.log(roundUpToNearest100(773));
console.log(roundUpToNearest100(899));
console.log(roundUpToNearest100(999.99));
console.log(roundUpToNearest100(99.197));
console.log(roundUpToNearest100(6));
console.log(roundUpToNearest100(15));
console.log(roundUpToNearest100(-19));
console.log(roundUpToNearest100(-103));
console.log(roundUpToNearest100(-199));
/*
run:
800
900
1000
100
100
100
-0
-100
-100
*/