MCPcopy 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
97func floor(a interface{}) float64 {
98 aa := toFloat64(a)
99 return math.Floor(aa)
100}
101
102func ceil(a interface{}) float64 {
103 aa := toFloat64(a)

Callers 1

TestFloorFunction · 0.85

Calls 1

toFloat64Function · 0.85

Tested by 1

TestFloorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…