Simple batch file help
I am trying to make a small batch file that calculate some stuff.
i am having trouble with this line of code: set /a result= %Minutes% / 300
It will not show digits. like if the result is 3,20 it will only show 3. how can i get the ,20 in the result?
also if you have a line of code that can take the %time% and place the hours into one variable and minutes into another variable.
right now i am typing in the hours and minutes into 2 variable manually every time.