# Compare floating point numbers

* At first we compare two floating point numbers we created.
* Then we see that the floating point imprecision leads to lack of equality.

{% embed include file="src/examples/numbers/compare-floats/src/main.rs" %}

{% embed include file="src/examples/numbers/compare-floats/out.out" %}



