Use Command Prompt as Calculator

No, i'm not saying about typing "calc".

Just wanna tell u that thr's a CUI calculator available in command prompt. It can perform simple arithmetic on 32-bit signed integers:

Examples:


C:\>set /a 2+2

4


C:\>set /a 2*(9/2)

8


C:\>set /a (2*9)/2
9
C:\>set /a "31>>2"
7

Note that we had to quote the shift operator since it would otherwise be misinterpreted as a "redirect stdout and append" operator.

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

"set" command can help setting various others parameters in your system.

Comments

Popular posts from this blog

Recover Opera wand passwords / How to view saved passwords in Opera wand?

Beware of Phishing.

Run a Program as Admin/administrator