Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What's Math Constants and Functions using JavaScript?
What's Math Constants and Functions using JavaScript?
✍: Guest
Math also has a zillion helpful functions.
Math.abs(value); //absolute value Math.max(value1, value2); //find the largest Math.random() //generate a decimal number between 0 and 1 Math.floor(Math.random()*101) //generate a decimal number between 0 and 100
2009-03-03, 4599👍, 0💬
Popular Posts:
How To Merge Values of Two Arrays into a Single Array? - PHP Script Tips - PHP Built-in Functions fo...
How To Specify Two Background Images on a Page? - CSS Tutorials - Page Layout and Background Image D...
Give me the example of SRS and FRS SRS :- Software Requirement Specification BRS :- Basic Requiremen...
What is the quickest sorting method to use? The answer depends on what you mean by quickest. For mos...
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy &a...