Decimal point removed from decimals in a Serialized XML
- by MiguelM
I'm using XmlSerializer with classes created from a xsd using xsd.exe. It has worked fine for months.
Now I'm receiving reports that in some cases the created xml file has all decimals serialized without a decimal point, e.g. 123.45 is serialized as 12345.
I haven't been able to reproduce the problem, but I'm suspecting it may be related to localization.
This is my first C# project, so I may be overlooking something basic.
Could localization cause this problem?
How can I make the serialization process locale independent?
Any idea of something else that could cause this problem?