Hello 

This is the day 10 of #30 days of javascrip coding, at this day I studied the Number Methods and  i learned that
1-  Very simply, within the Number Function there are methods and properties that I use with this Function to implement a specific procedure or behavior.
2-The purpose of the tostring() function is to convert a Number to a String and it has two ways of writing
3- tofixed function(2) Its purpose is to show only two decimal numbers instead of showing all five of these decimal numbers.
4- parseint() function The purpose of this method is to analyze the number written in the form of a string and convert it to a number, as the word parse means analysis and the int refers to Integer
5- There is another type of method called parseFloat(). Its purpose is to return numbers that contain fractions as they were
6- isInteger() function purpose is to perform a check on the code and return the result, whether true or false


That's all I learned today 

Comments

Popular posts from this blog