Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 183890 - [DataBinding] Default converter for numbers to numbers
Summary: [DataBinding] Default converter for numbers to numbers
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Brad Reynolds CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 154132
  Show dependency tree
 
Reported: 2007-04-24 20:23 EDT by Brad Reynolds CLA
Modified: 2007-05-02 20:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Reynolds CLA 2007-04-24 20:23:13 EDT
We don't currently default converters for converting between numbers (e.g. int to double, long to int, etc.).
Comment 1 Brad Reynolds CLA 2007-04-29 00:14:10 EDT
FIXED > 20070428.

Added converters to convert from:
* Number to Byte*
* Number to Short*
* Number to Integer*
* Number to Long*
* Number to Float*
* Number to Double*
* Number to BigInteger
* Number to BigDecimal

(* primitive and boxed)

Added validators to ensure that validation can occur for each conversion.  If the value is out of range an error is returned.
Comment 2 Brad Reynolds CLA 2007-05-02 20:53:36 EDT
VERIFIED in I20070502-1336.