# Numbers

## Syntax

### Decimal

```go
puts 3.14    // 3.14
puts 2.5     // 2.5
puts 1234    // 1234
puts 98      // 98
```

### Hexadecimal

```go
puts 0xff    // 255
puts 0xABC   // 2748
```

### Binary

To write binary number, use '0b' prefix and binary digits (0 or 1).

```c
puts 0b1       // 1
puts 0b100     // 4
```

{% hint style="info" %}
In aup, the range of number is 1.7E +/- 308 (15 digits).
{% endhint %}

## Implementation notes

// just a `double`
