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

Bug 362000

Summary: "string as decimal" loses decimals
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: greer, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-10-25 16:13:24 EDT
d1 decimal = "0.1";
=> d1 has value 0.

d2 decimal = "3.45";
=> d2 has value 3.

The same in Java returns what you'd expect (0.1 and 3.45, respectively).
Comment 1 Justin Spadea CLA 2011-10-26 09:43:22 EDT
Bumping importance since MVC is very reliant on string-to-decimal conversions working. Right now you pretty much can't use values with decimals in MVC.
Comment 2 Scott Greer CLA 2011-10-26 14:07:42 EDT
Fixed
Comment 3 Justin Spadea CLA 2011-11-01 16:00:42 EDT
Verified