| @@ 88-92 (lines=5) @@ | ||
| 85 | break; |
|
| 86 | // less than or equal |
|
| 87 | case "<=": |
|
| 88 | case "lte": |
|
| 89 | if (self::compare_floats($float1, $float2, '<') || self::compare_floats($float1, $float2, '=')) { |
|
| 90 | return true; |
|
| 91 | } |
|
| 92 | break; |
|
| 93 | // greater than |
|
| 94 | case ">": |
|
| 95 | case "gt": |
|
| @@ 106-110 (lines=5) @@ | ||
| 103 | break; |
|
| 104 | // greater than or equal |
|
| 105 | case ">=": |
|
| 106 | case "gte": |
|
| 107 | if (self::compare_floats($float1, $float2, '>') || self::compare_floats($float1, $float2, '=')) { |
|
| 108 | return true; |
|
| 109 | } |
|
| 110 | break; |
|
| 111 | case "<>": |
|
| 112 | case "!=": |
|
| 113 | case "ne": |
|