title: Trying to sum the totals of arguments/parameters entered in a batch file
body: <p>I am testing this simple script I wrote that will add all the arguments/parameters that a user enters, and thus provide a sum total.</p>
  <p>It sums them all together, but for the life of me, I can't understand why it's always showing the result as a 100's value.</p>
  <p>Example:
  1+2+3 = 6, yet the result is always 106.</p>
  <p>1+2+3+4+5+6 = 21, yet the result is always 121.</p>
  <p>As I try higher numbers, it's clear it's not adding them the way I was expecting, so I'm not sure what I'm doing wrong.</p>
  <p>50+50 = 100, yet the result is 200.</p>
  <pre><code>@echo off
  
  setlocal EnableDelayedExpansion
  
  for %%G in (%*) do (
  set /a result+=%%G
  echo !result! )
  </code></pre>