Registriert seit: 10. Jun 2002
Ort: Unterhaching
11.412 Beiträge
Delphi 12 Athens
|
19. Nov 2002, 00:09
 & herzlich Willkommen,
dein Problem ist recht einfach gelöst - Du hast mehrfach Rabatt gewährt ab >50000...
Code:
If Verkaufspreis >= 20000 Then
Verkaufspreis := Verkaufspreis - (Verkaufspreis * 5 / 100)
[color=#ff0008]ELSE[/color] If Verkaufspreis >= 50000 Then
Verkaufspreis := Verkaufspreis - (Verkaufspreis * 10 / 100)
[color=#ff0008]ELSE[/color] If Verkaufspreis >= 100000 Then
Verkaufspreis := Verkaufspreis - (Verkaufspreis * 125 / 1000);
Viel Erfolg
Daniel Lizbeth Ich bin nicht zurück, ich tue nur so
|