The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Computung Percentage
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Computung Percentage
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
02-09-2004
oombera
Registered User
Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
Actually, the OP didn't say whether they were using sh or not.
If you have the "bc" command installed, you can do something like: USED=`echo "$1 * 100 / $2" | bc`
Read these posts:
One
Two
Three
oombera
View Public Profile
Visit oombera's homepage!
Find all posts by oombera
Find oombera's past nominations received
Find oombera's present nominations given