Einzelnen Beitrag anzeigen

mr_emre_d
(Gast)

n/a Beiträge
 
#30

Re: Positive Zahlen in negative umwandeln

  Alt 29. Okt 2008, 17:52
Zitat von divBy0:
falls man nicht weiß, obs neg / pos ist und es unbedingt neg. sein muss dann:
Code:
if zahl >= 0 then
zahl := -zahl;
zahl := -abs(zahl); [/quote]

hatte ich eh so gemeint