@@ 112-116 (lines=5) @@ | ||
109 | break; |
|
110 | // less than or equal |
|
111 | case "<=": |
|
112 | case "lte": |
|
113 | if (self::compare_floats($float1, $float2, '<') || self::compare_floats($float1, $float2, '=')) { |
|
114 | return true; |
|
115 | } |
|
116 | break; |
|
117 | // greater than |
|
118 | case ">": |
|
119 | case "gt": |
|
@@ 130-134 (lines=5) @@ | ||
127 | break; |
|
128 | // greater than or equal |
|
129 | case ">=": |
|
130 | case "gte": |
|
131 | if (self::compare_floats($float1, $float2, '>') || self::compare_floats($float1, $float2, '=')) { |
|
132 | return true; |
|
133 | } |
|
134 | break; |
|
135 | case "<>": |
|
136 | case "!=": |
|
137 | case "ne": |