From 3bd356b725067728d64bd603a9b947a6c807715f Mon Sep 17 00:00:00 2001 From: Sandro Welte Date: Thu, 8 Feb 2024 20:52:09 +0100 Subject: [PATCH] refactoring: description added --- src/convert_ton_to_kg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/convert_ton_to_kg.h b/src/convert_ton_to_kg.h index 3ad55e5..9591ea6 100644 --- a/src/convert_ton_to_kg.h +++ b/src/convert_ton_to_kg.h @@ -3,6 +3,12 @@ #ifndef THEADMIRALS_CONVERT_TON_TO_KG_H #define THEADMIRALS_CONVERT_TON_TO_KG_H +// Convert tons to kilograms +// Parameters: +// tons: weight in tons +// Returns: +// The equivalent weight in kilograms + double tons_to_kg(double tons);