Bob Hanson wrote:
now I understand. Do you also see

10,3

for angles when you do measurements?
No, I see it in English notation (dot as decimal separator)
This is not very coherent: values should always appear in English format or in local format, but not mixed.

Nico


Nicolas Vervelle wrote:

I see 90,0 (with a comma, French notation)

Bob Hanson wrote:

Ah, so, for example, when you see the unit cell parameters at http://fusion.stolaf.edu/chemistry/jmol/xtalx, do you see

gamma 90,0

-- a comma -- while I see

gamma 90.0

-- a period ?


Bob


Nicolas Vervelle wrote:



Bob Hanson wrote:

that was it! Thanks, Nico. We will need to be on the look-out for this. I think it might be prudent to remove the numberformatter from the unit cell section just so as not to run into this again. All it is being used for is to remove digits in the display of a, b, c, alpha, bet, and gamma.


NumberFormat.getInstance() is used to have a format depending on the current locale (english, french, ...)

If the need is to have always the same format, then we could probably use something like DecimalFormat(String pattern)





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to