Update condition.go
This commit is contained in:
parent
e53133d0e8
commit
ebb0bf0718
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ var Computes = map[string]ComputeFunc{
|
|||
return left == right
|
||||
},
|
||||
">": func(left interface{}, right interface{}) bool {
|
||||
return any.Of(left).CFloat64() == any.Of(right).CFloat64()
|
||||
return any.Of(left).CFloat64() > any.Of(right).CFloat64()
|
||||
},
|
||||
">=": func(left interface{}, right interface{}) bool {
|
||||
return any.Of(left).CFloat64() >= any.Of(right).CFloat64()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue