Revision 11226 branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/TableNumericFieldOperations.java
TableNumericFieldOperations.java | ||
---|---|---|
71 | 71 |
} |
72 | 72 |
BigDecimal suma = new BigDecimal(0); |
73 | 73 |
BigDecimal min = new BigDecimal(Double.MAX_VALUE); |
74 |
BigDecimal max = new BigDecimal(Double.MIN_VALUE);
|
|
74 |
BigDecimal max = new BigDecimal(Double.NEGATIVE_INFINITY);
|
|
75 | 75 |
for(int i=selectedRows.nextSetBit(0); i>=0; i=selectedRows.nextSetBit(i+1)) { |
76 | 76 |
if (ds.getFieldValue(i, fieldIndex) instanceof NullValue) |
77 | 77 |
continue; |
Also available in: Unified diff