THE COMMAND PROCESSOR CMD.EXE COMES WITH A MINI CALCULATOR THAT CAN PERFORM SIMPLE ARITHEMATIC ON 32BIT SIGNED INTEGERS.
THESE COMMANDS ARE:
C:\>set/a2+2
C:\>set/a2*9
C:\>set/a(2*9)/2
NOTE: We had 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 CMD.
HERE "+" stands for ADDITION.
"*" stands for MULTIPLICATION.
"/" stands for DIVISION.
THESE COMMANDS ARE:
C:\>set/a2+2
C:\>set/a2*9
C:\>set/a(2*9)/2
NOTE: We had 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 CMD.
HERE "+" stands for ADDITION.
"*" stands for MULTIPLICATION.
"/" stands for DIVISION.
0 comments:
Post a Comment