AugustoEst / gazetrack

This library enables the use of different eye-trackers on the Processing environment.
33 stars 10 forks source link

punctuation problem in germany #2

Closed einraum-design closed 6 years ago

einraum-design commented 7 years ago

in germany windows sets ',' instead of '.' as separator in floating point numbers. 3,141592 instead of 3.141592 The library cannot convert the string with ',' to numbers. Could you please insert a replace ',' by '.' replacement before parsing the numbers "gazeX = Float.parseFloat(st.nextToken()) .... " or write a hint for not US users to set the number format in windows to american style.

AugustoEst commented 6 years ago

This shouldn't be an issue with the new library update.

einraum-design commented 6 years ago

thank you