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