# Rust numerical types

* i8
* u8
* i32
* i64

* By default integer numbers are stored in `i32` that has a range of -2147483648..=2147483647.
* By default floating point numbers are stored in `f64`.
* We can explicitely put numbers in different types.
* In Python a small integers takes up 28 bytes. [Size of integers in Python](https://python.code-maven.com/size-of-integer-in-python).

{% embed include file="src/examples/numbers/number-types/src/main.rs" %}
{% embed include file="src/examples/numbers/number-types/out.out" %}


