Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/henrygd/beszel
/ twoDecimals
Function
twoDecimals
internal/records/records.go:635–637 ·
view source on GitHub ↗
* Round float to two decimals */
(value float64)
Source
from the content-addressed store, hash-verified
633
634
/* Round float to two decimals */
635
func
twoDecimals(value float64) float64 {
636
return
math.Round(value*100) / 100
637
}
Callers
3
TwoDecimals
Function · 0.70
AverageSystemStats
Method · 0.70
AverageContainerStats
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected