| Summary: | Unnecessary round mode will cause number disappear | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Liwen Chen <lchen> | ||||
| Component: | BIRT | Assignee: | JingwenShen <jingwen.shen> | ||||
| Status: | CLOSED FIXED | QA Contact: | Liwen Chen <lchen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | hustlg, jingwen.shen | ||||
| Version: | 2.6.0 | ||||||
| Target Milestone: | 2.6.0 RC3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Need-Auto | ||||||
| Attachments: |
|
||||||
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. |
Created attachment 169772 [details] 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