MCPcopy 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
102func ceil(a interface{}) float64 {
103 aa := toFloat64(a)
104 return math.Ceil(aa)
105}
106
107func round(a interface{}, p int, rOpt ...float64) float64 {
108 roundOn := .5

Callers 1

TestCeilFunction · 0.85

Calls 1

toFloat64Function · 0.85

Tested by 1

TestCeilFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…