I tend to put:
Then it's dot always and on everything, ignoring whatever language settings are.Code:DecimalSeparator:='.';
I mean, wouldn't you just hate it if this application would on some computers write '.' and sometimes ','?
That would be very bad if you would want to send such files to others, with different language settings.Code:var d: single; F: TextFile; begin d:=1.001; assignfile(F, 'test.txt'); rewrite(F); writeln(F, d); closefile(F); end;
Bookmarks