The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
absolute value
.
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
:
absolute value
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
08-26-2008
dr46014
Registered User
Join Date: Jun 2007
Posts: 95
absolute value
is there any function in unix which will convert a integer to absolute value with a single decimal point.
suppose x=15232
y=x/1024=14.875
i want y to be 14.8
Similarly if y=6.29452 it should come as 6.3
dr46014
View Public Profile
Find all posts by dr46014
Find dr46014's past nominations received
Find dr46014's present nominations given