mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 15:00:16 +02:00
* Set DecimalSeparator to be locale independent.
git-svn-id: trunk@5959 -
This commit is contained in:
parent
97e6235535
commit
848d94f573
@ -3,6 +3,7 @@ uses sysutils;
|
||||
var
|
||||
s: ansistring;
|
||||
begin
|
||||
DecimalSeparator:='.';
|
||||
s := format('%e',[1.72]);
|
||||
{$ifdef FPC_HAS_TYPE_EXTENDED}
|
||||
if s <> '1.7200000000000000E+000' then
|
||||
|
Loading…
Reference in New Issue
Block a user