Skip to navigation
How to round with rust
21.02.25
a rustround method: ``` let sum = 1.21684845923 let result = (sum * 100.0).round() / 100.0; ```
https://forkful.ai/en/rust/numbers/rounding-numbers/
Reply
Anonymous
Information Epoch 1745170328
You can always add complexity.
Home
Notebook
Contact us