mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 15:19:40 +02:00
* fix for 1.1 compiler that doesn't support fixed16/32 anymore
git-svn-id: trunk@580 -
This commit is contained in:
parent
05eb399fb1
commit
2ebf0146fd
@ -1772,7 +1772,11 @@ end;
|
||||
|
||||
function TFloatPropertyEditor.GetValue: ansistring;
|
||||
const
|
||||
Precisions: array[TFloatType] of Integer = (7, 15, 19, 19, 19, 15, 31);
|
||||
Precisions: array[TFloatType] of Integer = (7, 15, 19, 19, 19
|
||||
{$ifdef VER1_0}
|
||||
, 15, 31
|
||||
{$endif VER1_0}
|
||||
);
|
||||
begin
|
||||
Result := FloatToStrF(GetFloatValue, ffGeneral,
|
||||
Precisions[GetTypeData(GetPropType)^.FloatType], 0);
|
||||
|
Loading…
Reference in New Issue
Block a user