|
#11
|
||||
|
||||
|
Add this function in your script, i made the choice to define megabytes...
Code:
Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
if Byte/1024 < 1024 then Result:= NumToStr(round(Byte/1024*100)/100) + ' GB' else
Result:= NumToStr(round((Byte/(1024*1024))*100)/100) + ' TB'
end;
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Light Installer Script (LIS) - DiskSpan_GUI | Cesar82 | Conversion Tutorials | 227 | 30-05-2026 05:01 |
| Simple Installer Script | Masquerade | Conversion Tutorials | 88 | 11-11-2024 00:49 |
| Script collection for real beginners | nordi | Conversion Tutorials | 3 | 14-02-2024 20:45 |
| Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 09:27 |