top of page
Search
zakariyesahid96

Random number/Math object

  • Math objects contains properties and methods for mathematical constants and functional, for example= math.p // 3.1415.

  • For rounding numbers would math.round(4) // 5

  • absolute would he Absolute value;math.abs(-456) // 456

  • To raise to the power would he math.pow(2,5).

  • Removing decimal would math.floor.

  • Overall a straight forward class which I understood with good practice.

2 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page