> For the complete documentation index, see [llms.txt](https://cs.brash.ca/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cs.brash.ca/unit-2/variables/numbers/the-math-object/random-numbers.md).

# Random Numbers

In reality, computers can only create "pseudorandom" numbers because they are created from a mathematical procedure or algorithm. Almost every programming language has the ability to generate some sort of random value - it might be up to the programmer to convert that value to an integer or specific type of value.

{% tabs %}
{% tab title="Javascript" %}
Javascript uses [the Math object](/unit-2/variables/numbers/the-math-object.md) to generate random numbers.

```javascript
// Under construction - content coming
let 
```

{% endtab %}

{% tab title="C++" %}
C++ is a strongly typed language...  content coming

```cpp
// Content coming...
int 

```

{% endtab %}

{% tab title="Java" %}
Java also uses a math library... content to come

```java
// Content coming...
int

```

{% endtab %}

{% tab title="Python" %}
Python always has to be a bit different...

```python
# Content coming...
myRandomNumber = 
```

{% endtab %}
{% endtabs %}
