+ 1

Batch Dividing problem

I have this code: @echo off set /p n1="learg number:" set /p n2="small number:" set /a div=n1/n2 echo %div% pause In this code, it can't solve problems when its like n1=15, n2=4. Is there any way to solve these types of problem in Batch? Thank you.

6th Jul 2021, 12:15 PM
Ehosanul Haque
Ehosanul Haque - avatar
1 Réponse