diff --git a/src/convert_g_to_mg.c b/src/convert_g_to_mg.c index a7c17ad..ceba263 100644 --- a/src/convert_g_to_mg.c +++ b/src/convert_g_to_mg.c @@ -2,5 +2,5 @@ #include "convert_g_to_mg.h" double g_to_mg(double grams) { - return grams * 1000.0; // 1 gram = 1000 milligrams + return grams * 1000.0; }