i need to get 2 decimal points in gb : i need to get decimal points in gband if any tb size there how can I retrive

below is my code

:: Example batch file to show free disk space on C:


@echo off
cls
echo.
echo Free Space on C:
echo ========================================


for /f "tokens=1-3" %%n in ('"WMIC LOGICALDISK GET Name,Size,FreeSpace | find /i "C:""') do set free=%%n& set total=%%p
echo.
rem echo %free% bytes free


set free=%free:~0,-3%
set /a free=%free%/1049
echo.
rem echo %free% MB free (approx and underestimated)


set /a free=%free%/1024
echo.
echo %free% GB free 

pause > NUL
