I need to do a floating-point division in a dos batch.
I didn\'t find a way to do it. Something like this :
SET /A Res=10/3
returns
If you're running in a command shell on Windows (rather than DOS), you can use VBScript to evaluate complex expressions including floating point math for you.
I have written a small helper library you can call to do this.
EvalBat Library on GitHub