Hello 

This is the day 11 of #30 days of javascrip coding, at this day I studied the Math Object and  i learned that
1-  Just as we talked previously about the Function Number and the properties within it that can be used to deal with numbers, today we will talk about the Object Math, which contains properties or tools that can be used to implement various tasks.
2-The first of these features or tools is round() function, which is mainly intended to round decimal numbers to the nearest whole number based on the number after the sign.
3- There are two other types of tools: the ceil and the floor, and here there is a fundamental difference between them
4- The ceil is an indication of the ceiling, that is, rounding to the largest value, regardless of the number after the decimal point
5- The floor is a reference to the floor, meaning rounding to the smallest value, regardless of the number after the decimal point
6- There are two other types of Math properties, min and max 
7- The min refers to minimum, meaning the lowest value, and the max refers to maximum, meaning the largest value

That's all I learned today 

Comments

Popular posts from this blog