Question: In JavaScript please. Modify the function to return true if the given decimal is even when it is rounded to the nearest integer, and false
Modify the function to return true if the given decimal is even when it is rounded to the nearest integer, and false otherwise 1 function isRoundedNumberEven(decimal) t 5 * Do not modify code below this line 6 7 console.log(sRoundedNumberEven(2.2),'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
