Browse Source

Quick.Chrono: small fix

Unknown 7 years ago
parent
commit
45ebca18e6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Quick.Chrono.pas

+ 2 - 2
Quick.Chrono.pas

@@ -7,7 +7,7 @@
   Author      : Kike Pérez
   Version     : 1.2
   Created     : 27/08/2015
-  Modified    : 02/03/2018
+  Modified    : 20/03/2018
 
   This file is part of QuickLib: https://github.com/exilon/QuickLib
 
@@ -183,7 +183,7 @@ end;
 
 class function TChronometer.MillisecondsToString(aMilliseconds : TLargeInteger; LongFormat : Boolean = False) : string;
 begin
-  MillisecondsToString(aMilliseconds.ToExtended,pfTruncate,LongFormat);
+  Result := MillisecondsToString(aMilliseconds.ToExtended,pfTruncate,LongFormat);
 end;
 
 class function TChronometer.Precission(aValue : Extended; FormatPrecission : TPrecissionFormat) : Extended;