APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Problem with format output data - hypen mixed up with negative

Return to the Tracker forum
Login to post to this thread

Hyphen/dash instead of minus/negative for exponential numbers
James Mitchell
1 Posts

I had a problem reading my tracker data output with python. I solved the problem
For eksampel

1,6E-04 was formated with a dash/hyphen and not a negative  so python was reading it as a string that it could not float.

Just a fyi, hope someone changes the code.

Current Replies - View all
Re: Hyphen/dash instead o...   (Douglas Brown - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book