Divide 2 variables
Posted on 2004-10-29
I created a small Batch file to colllect info from a few text files.
I need to call a vb script within the batch file that can divide 2 variables and set the result to a variable.
suppose my batch file has these two variables: TDIS=556.76 and CAC=45
I need to call a VB script that can divide %TDIS% by %CAC% and get the result as PCDI=12.37.
I could not do it with the command set /a
Thank you in advance for your help.