|
Hi All, its me again J I have a Problem using the correct Group- and
Decimalseparator in an ASP.NET-Application, when trying to parse a string that
contains a numeric value like: string sNum = “12,34”; decimal nNum = decimal.Parse( sNum ); // => 12,34 Now I am trying this: string sNum = “12.34”; decimal nNum = decimal.Parse( sNum ); // => 1234 I test a lot with NumberFormatInfo without successful
Result. As well as PostgreSQL is using a “.” as Decimalseparator. I
All that when running in Windows – is there
anything special when running in Mono? For me it seems so, because trying
something like that to use Replace(“.”,”,”) –
that cant be a good Solution J I am todaly confused what is the correct/best Way to
solve this Problem. What are you doing? Regards Jan Waiz |
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
