# JScript Math Object

**Visual Studio 2008**

The **Math **object has a number of intrinsic properties and methods. The properties are specific numbers.

One of these specific numbers is the value of pi (approximately 3.14159...). This is the value of the **Math.PI** property, which is used in the following example.

One built-in method of the **Math** object is the exponentiation method, or **pow**, which raises a number to a specified power. The following example uses both pi and exponentiation.

Another example is as follows:

var x = Math.floor( Math.random()*10 ) + 1;

The **Math** object cannot be explicitly constructed; it is always available to the program.

## Community Additions

ADD
Show: