Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Please explain round function in details with example how it works
1 Odpowiedź
0
If the decimal or floating part is .5 or higher the number is rounded up. Otherwise it is rounded down
1.5 rounds up and becomes 2
1.49 rounds down and becomes 1