Вот как я решил проблему:
for /f "tokens=1,2 delims=." %%A in ("!RESULT!") do ( if %%A LSS 1000 ( set int=%%A if not "%%B"=="" ( set decimal=%%B set decimal=!decimal:~0,1! if !decimal! GEQ 5 ( set /a int+=1 ) ) ) else ( if %%A GTR 1000 ( set /a int=%%A/32 set /a int+=1 ) ) echo !int! echo.%%a;%%b;%%c;!int!>>D:\outputTA.txt