Solved looking for a simple batch file

July 11, 2014 at 15:55:05
Specs: Windows 7
Looking for a batch file that would give me the percentage of number of games won and can be echo on screen for user to see...

to begin with I have
in the beginning of my script
set /a avg = 0

deeper into the script I have

SET /a avg = %totalgames% \ %wins% * 100

echo your avg is %avg%

message edited by fgoguen

See More: looking for a simple batch file

Report •

July 12, 2014 at 12:09:25
✔ Best Answer
set /a avg=(wins*100) / totalgames

Report •
Related Solutions

Ask Question