I have a data file with the following info:
111 222 333 -0.3030 30.0050
222 333 444 0.0050 30.0000
333 444 555 -80.9011 -30.0199
I need to index,substring or mathc on the 4th and 5th fields.
I have to convert the data to the left of the decimal into an interger and assign it to a new variable.
I then need to take the data to the right of the decimal and divde by 60 and interger that number and assign to new variable,take the remainder and divide again by 60 and assign the result to another variable.
The fields don't always have the same number of characters to the left or right of the decimal, so I cannot left/right justify and do a column substring extraction.
Thanks for helping on this.
111 222 333 -0.3030 30.0050
222 333 444 0.0050 30.0000
333 444 555 -80.9011 -30.0199
I need to index,substring or mathc on the 4th and 5th fields.
I have to convert the data to the left of the decimal into an interger and assign it to a new variable.
I then need to take the data to the right of the decimal and divde by 60 and interger that number and assign to new variable,take the remainder and divide again by 60 and assign the result to another variable.
The fields don't always have the same number of characters to the left or right of the decimal, so I cannot left/right justify and do a column substring extraction.
Thanks for helping on this.