devi usare

codice:
if D > 0 then begin
...
end
else if D = 0 then begin
...
end
else begin
...
end;