From 029d81db445de79a97968b23981bf376df2cf7d4 Mon Sep 17 00:00:00 2001
From: Abdelrahman <fdai7981@fhfddvz11.rz.hs-fulda.de>
Date: Sun, 4 Feb 2024 21:47:39 +0100
Subject: [PATCH] floorValue

---
 src/c/funktionen.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/c/funktionen.c b/src/c/funktionen.c
index bffcaeb..8b9dcbf 100644
--- a/src/c/funktionen.c
+++ b/src/c/funktionen.c
@@ -71,3 +71,9 @@ printf("Error: Invalid input for factorial!\n");
 return 0;
 }
 }
+
+// Function to calculate the floor value of a number
+float floorValue(float x) {
+return floor(x);
+}
+