Thread
:
Calculator Problem
View Single Post
Oct 14th, 2004, 1:54 AM
#
6
erebus
Programmer
Join Date: Aug 2004
Location: /dev/null
Posts: 65
Rep Power:
5
I didn't look at the above code, since i'm kinda on the go right now, but doing simple calculations on the commandline can be a lot less tedious. Maybe you could build something bigger from this:
(
Toggle Plain Text
)
$ echo '5+2*10/2' | bc
$ echo '5+2*10/2' | bc
__________________
<span style='font-size:14pt;line-height:100%'>
<span style='color:red'>"Political power grows out of the barrel of a gun" - Mao Tse-Tung</span>
</span>
erebus
View Public Profile
Visit erebus's homepage!
Find More Posts by erebus