• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using the Math Object

You don’t need to create an object of the Math type before you use it, you can just use the precreated Math object like this, where I’m using the pow method to create various powers of 2:

dim var1 = Math.pow(2, 10) 
dim var2 = Math.pow(2, 11) 
dim var3 = Math.pow(2, 12) 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint