I have a script that calculates disk space in bytes. I have found a way to convert it to megabytes. I have just run it and i got a this: 1867.603187561035
. Is there
It would be better if you showed the script in question, but yes, rounding can be performed. We just have to do the process manually. Here is a routine that will take in the number and a variable for the result.
:Round
Usage:
@echo off
setlocal
call :Round 12345.6789 Out
echo %Out%
endlocal
exit /b 0