Breaking

Thursday, 9 January 2020

Calculations On Command Prompt


In this tutorial I will show you  how to use CMD as a Calculator. This is one of the very simple CMD tricks, just follow these steps and you also able to do calculation with CMD.

The command processor CMD.EXE comes with a mini-calculator that can perform simple arithmetic on 32-bit signed integers.

Step 1 : Open CMD, then write the following code.


For addition  


Example :

  Set /a 324+234

 

For subtraction 


Example : 

 Set /a 1024-824

 

For multiplication  


Example :

 Set /a 234*43

 

Complex calculation 

 

Example :

 Set /a (456*(45/5)*6)/6   etc….

 

Like this you can perform any type of the arithmetic.


  

For more information, type set /? at the command prompt.

2 comments:

Featured Post

Remove shortcut arrow from desktop icons in Windows

Popular Items