(empty log message)
@@ -142,6 +142,12 @@ | ||
142 | 142 | return Integer.parseInt(leftValue.getValue()) >= Integer.parseInt(rightValue.getValue()); |
143 | 143 | } |
144 | 144 | |
145 | + if(leftValue.getValueType().equals(IScriptVariable.TYPE_DOUBLE) | |
146 | + && rightValue.getValueType().equals(IScriptVariable.TYPE_DOUBLE)){ | |
147 | + return Double.parseDouble(leftValue.getValue()) >= Double.parseDouble(rightValue.getValue()); | |
148 | + | |
149 | + } | |
150 | + | |
145 | 151 | int com = leftValue.getValue().compareTo(rightValue.getValue()); |
146 | 152 | |
147 | 153 | return com >= 0; |
@@ -159,6 +165,12 @@ | ||
159 | 165 | return Integer.parseInt(leftValue.getValue()) > Integer.parseInt(rightValue.getValue()); |
160 | 166 | } |
161 | 167 | |
168 | + if(leftValue.getValueType().equals(IScriptVariable.TYPE_DOUBLE) | |
169 | + && rightValue.getValueType().equals(IScriptVariable.TYPE_DOUBLE)){ | |
170 | + return Double.parseDouble(leftValue.getValue()) > Double.parseDouble(rightValue.getValue()); | |
171 | + | |
172 | + } | |
173 | + | |
162 | 174 | int com = leftValue.getValue().compareTo(rightValue.getValue()); |
163 | 175 | |
164 | 176 | return com > 0; |