I am trying to write a batch file, so it executes a program that I made with different arguments. One such argument is often the PI number.
How can i get the pi number?
Thank!
I assume that with a “batch file” you mean a Windows batch file.
There is no predefined constant for PI, so you need to write it hard to the batch file:
set PI=3.14159 yourProgram.exe %PI%