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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading Data From File

Status
Not open for further replies.

95pdempsey

Programmer
Jan 29, 2021
1
GB
I have a .txt file containing 1 column and 101 rows. For example the first 4 rows are as follows:
0.00000E+00
6.28215E+15
1.25581E+16
1.88217E+16

I want to read the values in and store them for use in calculations.

How would I tackle this?

Thanks.
 
Open the file then read either using E or G format
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top