Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
Math.ceil(7.042); will round off to 8
Math.ceil(7.042); will round off to 8 which means it will round off to next full value not to the nearest full value.
1 Odpowiedź
+ 15
makes sense as ceil is a short for ceiling....