Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
JavaScript Tutorial
Math 49 codes
Home
JavaScript Tutorial
Math
1 Advanced mathematical operations are provided through the Math object
2 Find the maximum number by using the Math max
3 Find the minimum number by using the Math min
4 Finding the maximum and minimum number
5 Generate a random integer between 2 and 10
6 Generate random numbes in a range
7 Generate random URL
8 Math abs()
9 Math acos()
10 Math asin()
11 Math atan()
12 Math atan2()
13 Math ceil()
14 Math cos()
15 Math E
16 Math exp()
17 Math floor()
18 Math LN10
19 Math LN2
20 Math log()
21 Math LOG10E
22 Math LOG2E
23 Math max()
24 Math min()
25 Math PI
26 Math pow()
27 Math random()
28 Math round a random number
29 Math round()
30 Math sin()
31 Math sqrt()
32 Math SQRT1_2
33 Math SQRT2
34 Math tan()
35 Math toSource()
36 Math toString()
37 Rounding a number to an integer
38 The value of Eulers constant
39 The value of the constant PI
40 The value of the Logarithm to base 2 of E
41 The value of the natural Logarithm of 10
42 The value of the natural Logarithm of 2
43 The value of the square root of 12
44 The value of the square root of 2
45 Use Math max to get the maximum value among three
46 Use Math min the get the minimum value among three
47 Use Math PI to do calculation
48 Use Math random to generate random number
49 Use Math round to calculate area