Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349408 - ValidRange only works with 2 decimal places
Summary: ValidRange only works with 2 decimal places
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: 3.0.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 05:27 EDT by Steffen Kriese CLA
Modified: 2012-04-13 05:12 EDT (History)
1 user (show)

See Also:


Attachments
Patch (977 bytes, patch)
2011-06-15 05:28 EDT, Steffen Kriese CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Kriese CLA 2011-06-15 05:27:31 EDT
A ValidRange can not validate numbers that have more than two decimal places. I will add a patch for verification.
Comment 1 Steffen Kriese CLA 2011-06-15 05:28:47 EDT
Created attachment 198005 [details]
Patch

Adds a test to ValidRangeTest for verification
Comment 2 Nobody - feel free to take it CLA 2012-04-13 05:12:07 EDT
Introduced a new constructor, which allows the specification of the desired numbers of integer and fraction digits.