rformassspectrometry / MetaboCoreUtils

Core utilities for metabolomics.
https://rformassspectrometry.github.io/MetaboCoreUtils/index.html
9 stars 6 forks source link

Adding more digits after the decimal #76

Closed Marievlm closed 12 months ago

Marievlm commented 12 months ago

Hi !

Thank you very much for this useful package. I use the formula calculateMass() to get the exact mass of a formula. However, there are only three digits after the decimal point. Is it possible to add more digits (five digits) ? I've tried the function round() but it doesn't change the result.

Thank you very much, Marie

Marievlm commented 12 months ago

I reply to my own issue. I observe that by exporting vector, I have the correct digits after the decimal point. It's okay then :)