IDEMPIERE-3972 Core problems with big numbers
This commit is contained in:
parent
ba13d8584e
commit
d2fc1f0d57
|
@ -217,7 +217,7 @@ public class MStatusLine extends X_AD_StatusLine
|
|||
Format fmt = fmts[idx];
|
||||
Object obj;
|
||||
if (fmt instanceof DecimalFormat || fmt instanceof ChoiceFormat) {
|
||||
obj = rs.getDouble(idx+1);
|
||||
obj = rs.getBigDecimal(idx+1);
|
||||
} else if (fmt instanceof SimpleDateFormat) {
|
||||
obj = rs.getTimestamp(idx+1);
|
||||
} else {
|
||||
|
|
|
@ -288,7 +288,7 @@ public class WListItemRenderer implements ListitemRenderer<Object>, EventListene
|
|||
}
|
||||
else
|
||||
{
|
||||
listcell.setLabel(format.format(((Number)field).doubleValue()));
|
||||
listcell.setLabel(format.format(field));
|
||||
ZkCssHelper.appendStyle(listcell, "text-align: right");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue