Registry / utility / round
library0.1.2rscratesunverified

This crate provides utilities to round your floats with precision from 1 to 10.

# Cargo.toml [dependencies] round = "0.1.2"
INSTALL
IMPORT
SIG · ROUND
R
round
utilityrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

round
use round::round;

Round a float to 2 decimal places.

use round::round; fn main() { let rounded = round(3.14159, 2); println!("Rounded: {}", rounded); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
round — cargo add round · libregistry