De: "LANCASHIRE, Robert J" > >Hi, >I have now released JSpecView as Open Source and very quickly informed >that there are problems in Germany since the decimal point in the >JCAMP-DX data files is converted automatically to commas by the >Operating System.
This is strange. What are you using for writing / reading floating points value in the files ? - Double.toString(double) should give you a string independant of the locale (with a decimal point). - Double.valueOf(StringĂ should convert a String to a Double indepedant of the locale (with a decimal point). - usually, if you want to write/read depending on the locale, you need to use other classes like NumberFormat. Nico ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
