[Mono-winforms-list] DataSet WriteXml single, double, decimal problem...
Stifu
stifu at free.fr
Fri May 25 18:06:44 UTC 2012
This is most likely a bug. Feel free to report it
(https://bugzilla.xamarin.com/).
And if you're motivated, you could have a look at the Mono source code, and
submit a patch.
matise wrote
>
> I have problem when writexml method is used to write file to had drive.
> DataTable has single column (i have tried to use double or decimal
> instead) in all cases write xml looses decimal point and writes it
> without. For example if value is 0,25 value written is 25. When I run
> application in windows without using mono it saves data correctly but in
> linux it is wrong. This might be problem because our linux and windows
> systems are set to use comma as decimal point (Croatia). I have solution
> to multiply all values by few hundred thousand and store values as whole
> numbers. But this creates problems when I use grids to display data... I
> will try to set linux to american english numbering system... But this
> might be bug...
>
--
View this message in context: http://mono.1490590.n4.nabble.com/DataSet-WriteXml-single-double-decimal-problem-tp4649547p4649548.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list
mailing list