User 86810cf9fa
01-03-2006 11:02:22
	
	Dear support,
I have testing the two methods of calculation of molecule weight with MolHandler class, with an example of molecule (see attached file molecule.mol).
This is my code:
the weight value returned is : 418.29936100000003
and if I use
I have : 418.2993469238281
Can you explain me why there is this difference?
I am using jchem3.1.5
Thank you very much
Severine
I have testing the two methods of calculation of molecule weight with MolHandler class, with an example of molecule (see attached file molecule.mol).
This is my code:
| Code: | 
| mh = new MolHandler(myMol); weigth = mh.calcMolWeightInDouble(); formule = mh.calcMolFormula(); | 
the weight value returned is : 418.29936100000003
and if I use
| Code: | 
| mh.calcMolWeight() | 
I have : 418.2993469238281
Can you explain me why there is this difference?
I am using jchem3.1.5
Thank you very much
Severine