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 1740242417
Save trees.
Home
Notebook
Contact us