Select from following answers:- Math.rnd(9.25)
- round(9.25)
- Math.round(9.25)

- rnd(9.25)
- All Above
Answer is Math.round(9.25).
Math is an in-built Javascript class and round is a static method or function.It's just like a Dot Net round method.
There are also static methods like ceil,floor,abs and so on of Math.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator