I like getting `2.5' there instead of just `2'.perl -e 'print 5/2, "\n"';
# perlwhich will let you type a program into STDIN for perl to execute. Perfect if you need to make three or four calculations.
In reply to Re: Re: Simple command line calculator
by mr_mischief
in thread Simple command line calculator
by vladb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |