The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to trim the leading zeroes in a Currency field ?
.
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
:
How to trim the leading zeroes in a Currency field ?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
05-29-2007
suparnbector
Registered User
Join Date: May 2007
Posts: 13
try this ....
x=+00002780.96
num=
$(( ${x} ))
echo $num
suparnbector
View Public Profile
Find all posts by suparnbector
Find suparnbector's past nominations received
Find suparnbector's present nominations given