Gast
#2267661
Hallo, ich probiere gerade ein Tutorial aus: Umwandlung von Text aus
Textbox in ein Zahl.
Es gehört zu einem Taschenrechner-Tutorial; bei mir geht's nicht.
decimal dec = Convert.ToDecimal(textBox1.Tag) +
Convert.ToDecimal(textBox1.Text);
führt zu:
3 + 6 = 9 // ok.
3 + 6,1 = 6,4 // ?
Hab hier VStudio C# 2010 Express.