Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
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, 4638👍, 0💬
Popular Posts:
How To Add Margins to an Image? - PSP Tutorials - Fading Images to Background Colors with PSP In ord...
Is There Any XSD File to Validate Atom Feed Files? - RSS FAQs - Atom Feed Introduction and File Gene...
What is a measure in OLAP ? Measures are the key performance indicator that you want to evaluate. To...
What Does a HTML Document Look Like? A HTML document is a normal text file with predefined tags mixe...
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we ha...