|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Decimal points problem |
« View previous topic :: View next topic » |
Author |
Message
|
MaheshPN |
Posted: Wed Mar 24, 2004 8:29 am Post subject: Decimal points problem |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
Hi Guys,
I am wondering how many digits are allowed after the decimal point. I see number of significant digits is 10. If the xml which creates and process instnace has more than 10, I get an error message
<MessageText>FMC01105E Data member 'largestWireAmount' value of data structure 'dsRCW' has the wrong type.
If the number of significant digits are <=10 it works fine.
Any idea, about how this can be handled?
I am using WF 3.4 fixpac 4, mqseries 5.3 servicepac 5. windows 2000
Thanks
-Mahesh |
|
Back to top |
|
 |
hos |
Posted: Wed Mar 24, 2004 9:04 am Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
Mahesh,
the Modeling Guide says the following:
You can specify a maximum of 15 characters but you must specify at least 1 number. For floating-point numbers, you must use periods (.) to divide the whole number from the fraction.
So I think the whole string must not exceed 15 characters.
One further comment on using float values: don't do it!
There are a lot of encoding and rounding issues with float/double
values used in hetrogenous systems (XML,Java,C++,code page,etc.)
You may have a look to the relatet PMRs if you can.
Avoid usage of float values if you can. Otherwise check that no
undesired 'value changes' happen to your data. |
|
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
|
|
|
|