## Some Useful Maths Functions In JavaScript

All of the maths functions in JavaScript are kept in a handy object called **Math**, which contains a number of different functions.

To get the absolute value of a number use the abs() function.

`Math.abs(3.14159265) // returns 3.14159265`

Rounding a number is done by either the round() function to round to the nearest integer, the ceil() function to round up to the nearest integer and the floor() function to round down to the nearest integer.