Revision 45315 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeature.java
DefaultFeature.java | ||
---|---|---|
194 | 194 |
if ( objectClass.isInstance(value) ) { |
195 | 195 |
if( attribute.getType()==DataTypes.DECIMAL ) { |
196 | 196 |
BigDecimal d = (BigDecimal) value; |
197 |
if( d.scale()==attribute.getScale() && d.precision()<=attribute.getPrecision() ) {
|
|
197 |
if( d.scale()<=attribute.getScale() && d.precision()<=attribute.getPrecision() ) {
|
|
198 | 198 |
this.data.set(i, value); |
199 | 199 |
return; |
200 | 200 |
} |
Also available in: Unified diff