How do you round the number 7.25, to the nearest integer?
Definition and Usage:
The round() method rounds a number to the nearest integer.
Note: 5.49 will be rounded down (5), and 5.5 will be rounded up (6).
Syntax for Math.round() function as below:
Following is the Example of Math.round() function:
Round a number to the nearest integer:
How to insert a comment that has more than one line?
How does a FOR loop start?
How does a WHILE loop start?