summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/compound.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compound.rb b/lib/compound.rb
index 2a79fd6..e002305 100644
--- a/lib/compound.rb
+++ b/lib/compound.rb
@@ -346,13 +346,13 @@ module OpenTox
end
- # Convert mg to mmol
+ # Convert mmol to mg
# @return [Float] value in mg
def mmol_to_mg mmol
mmol.to_f*molecular_weight
end
- # Convert mmol to mg
+ # Convert mg to mmol
# @return [Float] value in mg
def mg_to_mmol mg
mg.to_f/molecular_weight