When I read a record, no mater what switch I use in the Open, large numbers are converted to scientific notation. These numbers are for mailing, so it's a combination of a zip, plus4, delivery point, etc. I need to keep the number intact Is there some way to read the record and keep those numbers from converting?
Tommymac501 4 Junior Poster in Training
Recommended Answers
Jump to Post— ultimatebuster 14use strings instead of numbers.
Jump to Post— jcao219 18That indicates that the .csv file has it in scientific notation. No string-number conversions exist there.
also this code
L = ''is useless. L is not "declared" as a string. Python doesn't do that. If L is first a string, it doesn't mean it will always be a …
All 5 Replies
ultimatebuster 14 Posting Whiz in Training
Tommymac501 4 Junior Poster in Training
Tommymac501 4 Junior Poster in Training
jcao219 18 Posting Pro in Training
Tommymac501 4 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.