View Single Post
  #3  
Old 24-09-2019, 19:57
MaXun MaXun is offline
Registered User
 
Join Date: Sep 2019
Location: London
Posts: 4
Thanks: 3
Thanked 2 Times in 2 Posts
MaXun is on a distinguished road
Quote:
Originally Posted by Carldric Clement View Post
I've just update a little bit. Just copy and paste through it.
Code:
function MbOrGB(Float: extended): ansistring;
begin
  if Float<1024 then Result:=NumToStr(Float)+' MB'
  else if (Float/1024)<1024 then Result:=NumToStr(Float/1024)+' GB'
  else if (Float/(1024*1024))<1024 then Result:=NumToStr(Float/(1024*1024))+' TB'
end;
It works! thank.
And how can I add a display of the progress of the extracted files?
Reply With Quote
The Following User Says Thank You to MaXun For This Useful Post:
Celestosapien (15-10-2019)