Understanding the ActionScript Language > About data types > Number

 

Number

The number data type is a double-precision floating-point number. You can manipulate numbers using the arithmetic operators addition (+), subtraction (-), multiplication (*), division (/), modulo (%), increment (++), and decrement (--). You can also use methods of the built-in Math object to manipulate numbers. The following example uses the sqrt (square root) method to return the square root of the number 100:

Math.sqrt(100);

See Numeric operators.