Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

16. Math Function > Math Properties and Methods

Math Properties and Methods

The Math object has the following properties and methods:

Properties (e.g., Math.PI;):

  • E

  • LN2

  • LN10

  • LOG2E

  • LOG10E

  • PI

  • SQRT1_2

  • SQRT2

Methods (e.g., Math.random();):

  • abs()

  • acos()

  • asin()

  • atan()

  • atan2()

  • ceil()

  • cos()

  • exp()

  • floor()

  • log()

  • max()

  • min()

  • pow()

  • random()

  • round()

  • sin()

  • sort()

  • tan()


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint