G
Guest
Hi. We put data on MSMQ queues using the Message ctor as follows:
Message myMessage = new Message(myObject);
As I understand it, this will use an XmlSerializer to serialize the body of
the message when it is placed on the queue. We have noticed that if myObject
contains doubles with small values (e.g. 0.0000000001) the serilized object
will represent these values in scientific notation (e.g. 1E-10).
Is this standard behaviour of the XmlSerializer, and is there any workaround?
Thanks
kh
Message myMessage = new Message(myObject);
As I understand it, this will use an XmlSerializer to serialize the body of
the message when it is placed on the queue. We have noticed that if myObject
contains doubles with small values (e.g. 0.0000000001) the serilized object
will represent these values in scientific notation (e.g. 1E-10).
Is this standard behaviour of the XmlSerializer, and is there any workaround?
Thanks
kh