| Forum: VB.NET |
Thema:
Re: Rundungsfehler |
Von:
Till Groos (
16.12.2003 10:50) |
Hallo!
So kommt bei mir 35,96 raus;
Dim a, b, c As System.Decimal
a = CType(1087.64, Decimal)
b = CType(1123.6, Decimal)
c = a - b
Single und Double sind als Gleitkommazahlen da nicht genau genug.
mfgTill
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!