提交 273e330b 编写于 作者: S Serge Rider

Default number format fix (6 fraction digits)


Former-commit-id: 7736512b
上级 6d519e1d
......@@ -41,7 +41,7 @@ public class NumberFormatSample implements DBDDataFormatterSample {
props.put(PROP_USE_GROUPING, tmp.isGroupingUsed());
props.put(PROP_MAX_INT_DIGITS, tmp.getMaximumIntegerDigits());
props.put(PROP_MIN_INT_DIGITS, tmp.getMinimumIntegerDigits());
props.put(PROP_MAX_FRACT_DIGITS, Math.max(tmp.getMaximumFractionDigits(), 6));
props.put(PROP_MAX_FRACT_DIGITS, Math.max(tmp.getMaximumFractionDigits(), 10));
props.put(PROP_MIN_FRACT_DIGITS, tmp.getMinimumFractionDigits());
props.put(PROP_ROUNDING_MODE, tmp.getRoundingMode().name());
return props;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册