if (tc instanceof LongConversion) {
final LongConversion lc = (LongConversion) tc;
final Long lvalue = (Long) value;
value = (long) (lc.toDouble(lvalue) * scallingFactor);
} else if (tc instanceof DoubleConversion) {
final DoubleConversion dbc = (DoubleConversion) tc;
final Double dvalue = (Double) value;
value = (double) (dbc.toDouble(dvalue) * scallingFactor);
} else {
if (true)
throw new RuntimeException("Only Long and Double can be scalled out!");
}
break;