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 -->
#
1
(
permalink
)
02-09-2004
preetikate
Registered User
Join Date: Feb 2004
Posts: 13
Computung Percentage
I wish to find % used using shell variables
and am using the following
USED=`expr $1\* 100 / $2`;
But this does not take decimal portion of $1 .
How to resolve?
preetikate
View Public Profile
Find all posts by preetikate
Find preetikate's past nominations received
Find preetikate's present nominations given