Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364103

Summary: Scale Function
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: shenxue.zhou
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-11-18 00:33:58 EST
When working with decimals, controlling the scale of the number is very important, whether to decrease the scale in order to round the number or to increase the scale ahead of arithmetic operations. Since Sapphire Expression Language (EL) has native support for BigDecimal, a scale function is needed.
Comment 1 Konstantin Komissarchik CLA 2011-11-20 22:50:05 EST
Implemented. Unit test in TestExpr0009.
Comment 2 Shenxue Zhou CLA 2011-11-28 17:26:53 EST
Verified by running unit test TestExpr0009