i:15 for int64

This commit is contained in:
Бондарев Иван 2016-01-05 21:43:05 +01:00
parent fd603f9ee2
commit dbb0592ca4

View file

@ -1598,6 +1598,8 @@ function FormatValue(value: object; NumOfChars: integer): string;
///--
function FormatValue(value: integer; NumOfChars: integer): string;
///--
function FormatValue(value: int64; NumOfChars: integer): string;
///--
function FormatValue(value: real; NumOfChars: integer): string;
///--
function FormatValue(value: real; NumOfChars, NumOfSignesAfterDot: integer): string;
@ -7413,6 +7415,12 @@ begin
Result := Result.PadLeft(NumOfChars);
end;
function FormatValue(value: int64; NumOfChars: integer): string;
begin
Result := value.ToString;
Result := Result.PadLeft(NumOfChars);
end;
function FormatValue(value: real; NumOfChars: integer): string;
begin
Result := value.ToString(nfi);