anchor.diff:  set "%1=%sign%%int%.%fractd:~1%"
   exit /b
   
  -:saverrorlog
  -if exist "%filework%" 1>nul 2>&1 del /f /q "%filework%"
  ->>"%logfile2%" echo.%~1;%~2;error
  -if %thread% equ 1 (call:printfileerr "%~f1" "%~2")
  -exit /b
  -
   :end
   call:setvtime ftime
   set "fract=0"
  
positive.code: 1>nul 2>&1 del /f /q "%filework%" "%pnglog%"
  exit /b
  
  :jpegfilework
  set "ep="
  set "jsize=%~z2"
  
negative.code: )
  exit /b
  
  :saverrorlog
  if exist "%filework%" 1>nul 2>&1 del /f /q "%filework%"
  >>"%logfile2%" echo.%~1;%~2;error
  if %thread% equ 1 (call:printfileerr "%~f1" "%~2")
  exit /b
  
  ::%1 - variable name for division (dividend)
  ::%2 - divider
  ::%3 - 10^(number of decimal places) - (100 - 2 decimal places, 1000 - 3 decimal places)
  :division
  set "sign="
  1>nul 2>&1 set /a "int=!%1!/%2"
  