提交 6d519e1d 编写于 作者: S Serge Rider

Default number format fix (6 fraction digits)


Former-commit-id: ba224b31
上级 23fe9ba9
......@@ -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, tmp.getMaximumFractionDigits());
props.put(PROP_MAX_FRACT_DIGITS, Math.max(tmp.getMaximumFractionDigits(), 6));
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.
先完成此消息的编辑!
想要评论请 注册