Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364103 - Scale Function
Summary: Scale Function
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-11-18 00:33 EST by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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