Topic: please help me any one know make code for this example...
I want whene i add number get amount automatically after discount.....like
whene i add 100$ at 200$ automatically multiplication 15%
whene i add 200$ at 300$ automatically multiplication 20%
and whene i add 300$ at 400$ automatically multiplication 25%...
like that code i think:
procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
Calculate
if Edit1:=integer :=100 at 200 then
100 at 200 * 15/100
if Edit1:=integer:=200 at 300 then
200 at 300 * 20 /100
if Edit1:=integer:=200 at 300 then
300 at 400 *25/100
end;
begin