Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > Java Forum & Tutorial


JavaScript Math Object


Reply
Views: 1930  
Thread Tools Rate Thread
  #1  
Old 05-03-2009, 05:58 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,567
Default JavaScript Math Object


The Math object allows you to perform mathematical tasks.


Try it Yourself - Examples

round()
How to use round().










Reply With Quote
  #2  
Old 05-03-2009, 05:58 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,567
random()
How to use random() to return a random number between 0 and 1.








Reply With Quote
  #3  
Old 05-03-2009, 05:59 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,567
max()

How to use max() to return the number with the highest value of two specified numbers.








Reply With Quote
  #4  
Old 05-03-2009, 05:59 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,567






Reply With Quote
Reply

New topics in Java Forum & Tutorial





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
WikiNewForum)