Unix shell - View topic - float arithmetic in a shell script

Unix shell - View topic - float arithmetic in a shell script

瀏覽:499
日期:2024-07-17
... >How can I get my shell script to add/ : >multiply/etc. : > : > Carim. : Check out the man page on bc. It does math. : Try something like: : VARIABLE=$(print "scale=2;2/3"|bc ......看更多