Skip to content

Commit

Permalink
decimal separator, save to file
Browse files Browse the repository at this point in the history
set decimal separator to '.'
and save to file
  • Loading branch information
faludiz committed Dec 20, 2022
1 parent e9d374a commit c87e857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ procedure TfrmMain.btnSaveGCPFileClick(Sender: TObject);
fpts[idx].Name]);
end;
end;
txt.SaveToFile(sdGCP.FileName);
txt.Free;
end;
end;
Expand Down Expand Up @@ -158,6 +159,8 @@ procedure TfrmMain.btnDelClick(Sender: TObject);
procedure TfrmMain.FormCreate(Sender: TObject);
begin

DefaultFormatSettings.DecimalSeparator:='.';

loadcrs(fcrs);
LOG.Lines.Add('crs=%d', [length(fcrs)]);
cmbCRS.Clear;
Expand Down

0 comments on commit c87e857

Please sign in to comment.