|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Truncation of Data by UPES |
« View previous topic :: View next topic » |
Author |
Message
|
lawrence |
Posted: Thu Nov 28, 2002 7:24 pm Post subject: Truncation of Data by UPES |
|
|
 Novice
Joined: 04 Jun 2002 Posts: 13
|
Dear all,
When using UPES activities, the data structure of the type float gets truncated to one decimal point. For instance, I have one normal activity and one UPES activity. The data is initially 100.87 but once the UPES activity gets executed the data changes to 100.9. Anyone knows how to resolve this or patches to apply?
Thank you. |
|
Back to top |
|
 |
vennela |
Posted: Thu Nov 28, 2002 9:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
educos |
Posted: Mon Dec 02, 2002 7:17 am Post subject: |
|
|
 Apprentice
Joined: 18 Jul 2001 Posts: 34 Location: Salt Lake City, UT
|
This almost sounds like an application/activity implementation issue. I have implemented an number of UPES and non-UPES activities with floats both in input and output container, and everytime I had issues like that, my code was at fault. Using Java (if you are) as your activitty implementation execution platform doesn't necessarily shield you from loss of precision unless you use classes like BigDecimal to hold floating point numbers for which you need an exact representation.
For UPES activities, looking at both your input XML message and the XML response generated by your activity implementation (if you haven't already done so) may shed some light on this. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|