[Mono-winforms-list] DataSet WriteXml single, double, decimal problem...
matise
matija at clubpages.net
Fri May 25 17:49:02 UTC 2012
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-tp4649547.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list
mailing list