Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Masterminds/sprig
/ floor
Function
floor
numeric.go:97–100 ·
view source on GitHub ↗
(a interface{})
Source
from the content-addressed store, hash-verified
95
}
96
97
func
floor(a
interface
{}) float64 {
98
aa := toFloat64(a)
99
return
math.Floor(aa)
100
}
101
102
func
ceil(a
interface
{}) float64 {
103
aa := toFloat64(a)
Callers
1
TestFloor
Function · 0.85
Calls
1
toFloat64
Function · 0.85
Tested by
1
TestFloor
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…