6 Réponses
+ 1
THE ROUND () IS USED ONLY FOR NEAREST EVEN
+ 2
Hello
+ 1
4.5 is 4 bcoz nearest even value to 4.5 is 4
If you will try to round 5.5 it will be 6 coz 6 is nearest even number
+ 1
Eyosias Mulugeta Round function can round any number not just even numbers but you are rounding .5 decimal which have some rules in maths when rounding
https://code.sololearn.com/ccPlRd5ZSdyj/?ref=app