# Math.random()

Returns a random float (decimal) between `0`

and `1`

.

```
// returns random decimal
Math.random();
```

*Works back to at least IE6.*

Returns a random float (decimal) between `0`

and `1`

.

```
// returns random decimal
Math.random();
```

*Works back to at least IE6.*