From e38ad30800599bdc28fecaf72f296d3655ee7253 Mon Sep 17 00:00:00 2001 From: Sandro Welte Date: Thu, 8 Feb 2024 20:50:20 +0100 Subject: [PATCH] refactoring: description added --- src/convert_g_to_mg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/convert_g_to_mg.h b/src/convert_g_to_mg.h index 557244a..e764c7e 100644 --- a/src/convert_g_to_mg.h +++ b/src/convert_g_to_mg.h @@ -4,7 +4,11 @@ - +// Convert grams to milligrams +// Parameters: +// grams: weight in grams +// Returns: +// The equivalent weight in milligrams double g_to_mg(double grams);