Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I convert numeric data

Status
Not open for further replies.

Tison

Programmer
May 12, 1999
216
CH
How do I convert numeric data
from 12345.47-
to -12345.47

This data is in a standard AIX flat file witn record lengths of 102 with other text and numeric data in each record.
I need to move the minus side from the right to the left side of the negative numbers.
 
Do you have Perl available? Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top