created an attachment (id=169772)
report

description:
unnecessary round mode will cause number disappear if set decimal places less than number decimal length.

build number:2.6.0.v20100525-1130

steps to reproduce:
1. insert a data, float, 1.23
2. set format number: fixed, decimal places 1, round mode unnecessary
3. preview

expected result:
show number

actual result:
show nothing
java.lang.arithmeticexception is thrown out when doing format.
if exception is thrown out, the original value instead of null object should be returned
fixed the problem.
if the number isn't fit for unnecessary rounding mode, use default rounding mode with user specified decimal places.