Code Duplication    Length = 9-9 lines in 2 locations

core/helpers/EEH_Money.helper.php 2 locations

@@ 101-109 (lines=9) @@
98
                break;
99
            // less than
100
            case "<":
101
            case "lt":
102
                if (abs($float1 - $float2) < $epsilon) {
103
                    return false;
104
                } else {
105
                    if ($float1 < $float2) {
106
                        return true;
107
                    }
108
                }
109
                break;
110
            // less than or equal
111
            case "<=":
112
            case "lte":
@@ 119-127 (lines=9) @@
116
                break;
117
            // greater than
118
            case ">":
119
            case "gt":
120
                if (abs($float1 - $float2) < $epsilon) {
121
                    return false;
122
                } else {
123
                    if ($float1 > $float2) {
124
                        return true;
125
                    }
126
                }
127
                break;
128
            // greater than or equal
129
            case ">=":
130
            case "gte":