Decimal.Multiply(zahl1, zahl2); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Zeitler Sent: Mittwoch, 6. April 2005 10:10 To: [email protected] Subject: [CSharp.net] decimal Multiplikation
Hallo, wenn ich eine Variable vom Typ decimal habe und z.B. myDecimal * 1.25 aufrufe, erhalte ich die Fehlermeldung: Cannot apply operator '*' to operands of type decimal and double. Konvertiere ich jedoch myDecimal nach double double myDouble= (double)myDecimal; kann ich per myDouble *= 1.25; eine Multiplikation durchf�hren. Was habe ich da nicht verstanden? Gruss Alex _______________________________________________ CSharp.net Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/csharp.net _______________________________________________ CSharp.net Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/csharp.net
