atomicthumbs
I am the king of the collectors, with hospital bed
Could someone PND up a calculator? The Pandora doesn't really have one unless you count Gnumeric. Slcalc and xcalc both look nice.
Well I use an HP-48G every day so I probably wouldn't mind, but most people I know are not familiar with RPN (and trust me it does take some getting used to).Gruso said:How are zx-81's TI emus for the job? Too cumbersome for everyday use?
Someone on IRC was saying he had installed some form of Octave from the Angstrom feed (repo). This one I think http://www.angstrom-distribution.org/repo/?pkgname=octaveEdCa22 said:How about QtOctave or XOctave?
echo 'function calc { perl -e "print (($1).\"\n\")"; }' >> ~/.bashrc
vitel@x200 ~ $ calc 2+2
4
This is all wrong.Vitel said:I use perl as a calculator:
Code:echo 'function calc { perl -e "print (($1).\"\n\")"; }' >> ~/.bashrc
Code:vitel@x200 ~ $ calc 2+2 4
echo 'function calc { lua -e "print ($1)"; }' >> ~/.bashrc
EdCa22 said:How about QtOctave or XOctave?
lulzfish said:This is all wrong.
It should be
Code:echo 'function calc { lua -e "print ($1)"; }' >> ~/.bashrc
echo 'function calc { echo $(($1)); }' >> ~/.bashrc
echo 'function calc { echo $(($@)); }' >> ~/.bashrc
Why not use bash itself :lulzfish said:This is all wrong.Vitel said:I use perl as a calculator:
Code:echo 'function calc { perl -e "print (($1).\"\n\")"; }' >> ~/.bashrc
Code:vitel@x200 ~ $ calc 2+2 4
It should be
Code:echo 'function calc { lua -e "print ($1)"; }' >> ~/.bashrc
$ $ echo $(( 2+2 ))
4
javascript: alert(2+2)
Or if you have Internet and want to offend everyone with your silliness, you could type it into your search engine.Yoyobuae said:Or if using the browser (firefox at least), type this into address bar:
Code:javascript: alert(2+2)
Thank you, this is exactly what I was after.headcrash said:hi,
if you just want a calculator like calc for windows, open terminal and install gcalctool into your pandora-nand:
sudo opkg install gcalctool
no need for a pnd file, its a tiny app ...
greetings
Bash does not support floating point calculation.Yoyobuae said:Why not use bash itself :lulzfish said:This is all wrong.Vitel said:I use perl as a calculator:
Code:echo 'function calc { perl -e "print (($1).\"\n\")"; }' >> ~/.bashrc
Code:vitel@x200 ~ $ calc 2+2 4
It should be
Code:echo 'function calc { lua -e "print ($1)"; }' >> ~/.bashrc
Code:$ $ echo $(( 2+2 )) 4