Wednesday 21 December 2011

-: Calculations On Command Prompt :-

Posted at  Wednesday, December 21, 2011  |  in  CMD

-: 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
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.

Share this post

About Naveed Iqbal

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim venenatis fermentum mollis. Duis vulputate elit in elit. Follow him on Google+.

2 comments:

  1. So now you have to decide whether or not you want
    to work individually, or through a studio. Chemical
    constituents are glycyrrhizin, flavones, coumarins.
    The videos and pics are also fantastic should you do
    not feel like sex chat, but you want to fool around with your girlfriend and attempt some new points.
    There are various appealing males to entice the female customers of grownup
    webcam web-sites.

    Feel free to surf to my blog :: international removals

    ReplyDelete

About-Privacy Policy-Contact us
Copyright © 2013 infinityCEH. Blogger Template by Bloggertheme9
Proudly Powered by Blogger.
back to top