Actelion / openchemlib

Open source Java-based chemistry library
Other
83 stars 29 forks source link

get molweight without rounding off #93

Open epbpo opened 1 year ago

epbpo commented 1 year ago

I need a method that can retrun mol weight with decimal without rounded mass

thsa commented 1 year ago

getMolWeight() of ExtendedMolecule returns the rounded int mol weight new MolecularFormula(mol).getAbsoluteWeight() or getRelativeWeight() give you the exact weight, either mix of natural abundance or from the most abundant isomers


Von: epbpo @.> Gesendet: Donnerstag, 18. Mai 2023 17:12 An: Actelion/openchemlib @.> Cc: Subscribed @.***> Betreff: [Actelion/openchemlib] get molweight without rounding off (Issue #93)

I need a method that can retrun mol weight with decimal without rounded mass

— Reply to this email directly, view it on GitHubhttps://github.com/Actelion/openchemlib/issues/93, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNFEBQB5SFWDWCVY22EYK3XGY35NANCNFSM6AAAAAAYGS4QTI. You are receiving this because you are subscribed to this thread.Message ID: @.***>


The information of this email and in any file transmitted with it is strictly confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any copying, distribution or any other use of this email is prohibited and may be unlawful. In such case, you should please notify the sender immediately and destroy this email. The content of this email is not legally binding unless confirmed by letter. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of the sender's company.