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 -->
#
4
(
permalink
)
05-29-2007
panknil
Registered User
Join Date: Apr 2007
Location: Kolkata
Posts: 84
How to trim the leading zeroes in a Currency field ?
Dear ghostdog74,
can you please explain the function of
~ and sub(/^\+0+/,"",$4) in your code?
Thanks in advance
Regards,
Pankaj
panknil
View Public Profile
Find all posts by panknil
Find panknil's past nominations received
Find panknil's present nominations given