in reply to Re: Simple command line calculator
in thread Simple command line calculator
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Simple command line calculator
by jmcnamara (Monsignor) on Mar 27, 2002 at 09:03 UTC |