Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Masterminds/sprig
/ ceil
Function
ceil
numeric.go:102–105 ·
view source on GitHub ↗
(a interface{})
Source
from the content-addressed store, hash-verified
100
}
101
102
func
ceil(a
interface
{}) float64 {
103
aa := toFloat64(a)
104
return
math.Ceil(aa)
105
}
106
107
func
round(a
interface
{}, p int, rOpt ...float64) float64 {
108
roundOn := .5
Callers
1
TestCeil
Function · 0.85
Calls
1
toFloat64
Function · 0.85
Tested by
1
TestCeil
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…