# rounding float

* round
* f64

* The [round](https://doc.rust-lang.org/std/primitive.f64.html#method.round) method of floating point rounds to the nearest integer.
* So to round to a specific precision we can multiply-round-divide.


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


