0
Was ist daran falsch? Stehe auf dem Schlauch...
if 'German Tax Law' = "0" then
'Driving distance' * 0.7 or if 'German Tax Law' = "1" and 'Driving distance' < 30 then
'Driving distance' * 0.3 or if 'German Tax Law' = "1" and 'Driving distance' >= 30 then
'Driving distance' * 0.38
end
end
end
4 Antworten
-
was sind denn "German Tax Law" und "Driving Distance" für ein Feldtypen?
-
das erste ein ja/nein schalter... das Zweite ein Zahlenfeld
-
probier mal:
----
if not 'German Tax Law' then
'Driving distance' * 0.7
else
if 'German Tax Law' and 'Driving distance' < 30 then
'Driving distance' * 0.3
else
'Driving distance' * 0.38
end
end
---- -
super... danke...
Content aside
- vor 3 JahrenZuletzt aktiv
- 4Antworten
- 140Ansichten