Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/SimDeck
/ round_one_decimal
Function
round_one_decimal
packages/server/src/performance.rs:956–958 ·
view source on GitHub ↗
(value: f64)
Source
from the content-addressed store, hash-verified
954
}
955
956
fn round_one_decimal(value: f64) -> f64 {
957
(value * 10.0).round() / 10.0
958
}
959
960
fn now_ms() -> u64 {
961
SystemTime::now()
Callers
1
cpu_percent
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected