Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ floor
Function
floor
ext/math.go:667–670 ·
view source on GitHub ↗
(val ref.Val)
Source
from the content-addressed store, hash-verified
665
}
666
667
func
floor(val ref.Val) ref.Val {
668
v := val.(types.Double)
669
return
types.Double(math.Floor(float64(v)))
670
}
671
672
func
round(val ref.Val) ref.Val {
673
v := val.(types.Double)
Callers
nothing calls this directly
Calls
1
Double
TypeAlias · 0.92
Tested by
no test coverage detected