Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » BigDecimal conversion problem
BigDecimal conversion problem [message #1720267] Fri, 15 January 2016 16:01 Go to next message
Michael De Checchi is currently offline Michael De ChecchiFriend
Messages: 2
Registered: January 2016
Junior Member
Hello

I'm having problems with BigDecimal in ATL.

I have a value stored into a BigDecimal : 18446744073709551615

After a ATL transformation, the value is 18446744073709552000.
And it seems that this rounding has been done by the ATL module (which only create a new instance of an object using this value).

Do you have any idea?

Kind regards

Edit:
Attached to this post you will find the content of the BigDecimal object after transformation
  • Attachment: bd.png
    (Size: 4.64KB, Downloaded 101 times)

[Updated on: Thu, 21 January 2016 08:33]

Report message to a moderator

Re: BigDecimal conversion problem [message #1721202 is a reply to message #1720267] Mon, 25 January 2016 16:10 Go to previous message
Michael De Checchi is currently offline Michael De ChecchiFriend
Messages: 2
Registered: January 2016
Junior Member
In fact, the problem was just before the transformation.
The resource used by ATL was stored with all the numeric data converted to Double...
Previous Topic:Add-Delet-Class
Next Topic:one element to multiple transformation
Goto Forum:
  


Current Time: Wed Sep 20 20:18:38 GMT 2017

Powered by FUDForum. Page generated in 0.02688 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software