|The above vbs script is fairly simple, don't know if that's something that is workable for you? If you wanted to use it you would run the command interpreter, then navigate to the file you have the script in, and then type harmavg.vbs number1 number2.|
I would agree with nbrane, that working through decimals is much much easier in vbs. The only way I could think to do it is through changing where the decimal point lies in the original entries, and then changing them back, the only issue is that even this will fail the mathematical precision you are asking for. If that works better, don't forget to change the best answer to nbrane, that way people see the better answer first.
Thanks for replying so fast, sorry that there isn't an easy answer in batch.