![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7BjwgZDhuHKvsy_dZCY1YOpZ7Y25y6QF9gGHn7GLReyvkZXcJHYTq0ttFpD4QdlXl3hkWzFQn4eQXnyeKo_ejIJw35NNSmQ2d6U7N7pXDnTwSy1fycK8BuSmC7ChAKbQL5EQzihxFqQ1r/s320/Untitled1.png)
Calculations On Command Prompt
the command processor CMD.EXE comes with a mini-calculator that can perform simple arithmetic on 32-bit signed integers:
C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
For more information, type set /? at the command prompt.
No comments:
Post a Comment