View Single Post
  #4  
Old 12-03-2018, 06:12
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Quote:
Originally Posted by Webster17 View Post
Thanks man, got most of the fixes but still the disk issue problem persists

Code:
function MbOrTb(Float: Extended): String;
begin
if Float/1024 < 1024 then Result:= format('%.2n', [Float/1024])+' MB' else
Result:= format('%.2n', [Float/(1024*1024)])+' GB';
StringChange(Result, ',', '.');
end;
__________________
if you understand read more
Reply With Quote
The Following User Says Thank You to rinaldo For This Useful Post:
Webster17 (19-03-2018)