how does one change the value of the type of currency? I am getting $ for my currency when i need R.
procedure TfrmFinal.addSubtractTotal;
var
total: currency;
begin
total := 0;
frmDataModule.tblpins.First;
while not frmDataModule.tblpins.Eof do
begin
total := total +
frmDataModule.tblpins.FieldByName('qty').AsInteger *
frmDataModule.tblpins.FieldByName('price').AsCurrency;
frmDataModule.tblpins.Next;
end;
totalAmmountLabel.Text := total.ToString;
end;