Mood: caffeinated
Now Playing: Bite Me Hard
BC, Info
http://www.gnu.org/software/bc/manual/html_mono/bc.html
http://www.oreillynet.com/linux/cmd/cmd.csp?path=b/bc
http://www.basicallytech.com/blog/index.php?/archives/23-command-line-calculations-using-bc.html
BC Script example from the internet link above:
print "\nConvert Fahrenheit to Celsius\n\n"
print "Temperature in Fahrenheit: " ; fah = read()
print "\n"
print "Equivalent Temperature in Celsius is: "
(fah - 32.0) * 5.0 / 9.0
quit
My own script that I built for Currency changing.
print "\dollar to euro program\n\n"
print "Amount of Dollars to convert: " ; dollar = read()
print "The Conversion Rate For Today Is: "; convert = read()
print "\n"
print "Your Dollars Purchased this many Euros: "
(dollar) * (convert)
quit
print "\Euro to Dollar Program\n\n"
print "Amount of Euros to convert: " ; euro = read()
print "The Conversion Rate For Today Is: "; convert = read()
print "\n"
print "Your Dollars Purchased this many Euros: "
(euro) * (convert)
quit