Kann mir jemand sagen, warum "Die Eingabezeichenfolge das falsche Format" hat???
Convert.ToDouble("23,23");
Auf einem Rechner gehts, auf dem anderen nicht!!!
😜
Real programmers don't comment.
If it was hard to write, it should be hard to understand!
Ich tippe jetzt einfach mal blind auf das ,
Probiers mal so:
Convert.ToDouble("23,23");
LG
B A L U
das hab i doch genau so!!!
Real programmers don't comment.
If it was hard to write, it should be hard to understand!
Vielleicht sind die Regional Settings auf den Rechnern unterschiedlich (Einstellung für das Dezimaltrennzeichen) ? Nur mal so spontan als Idee.
http://msdn2.microsoft.com/de-de/library/system.double.parse(VS.80).aspx
Erläuterungen zum erlaubten Zahlenformat bei Nichtangabe von IFormatProvider / NumberStyles:
http://msdn2.microsoft.com/de-de/library/fd84bdyt(VS.80).aspx
Sorry,
ich meinte
Convert.ToDouble("23.23");
LG
B A L U
Hallo B A L U,
CultureInfo.InvariantCulture
herbivore