From 44e2ca19560c9c6bb677f6dde990aa26bbb30dc8 Mon Sep 17 00:00:00 2001 From: j <33649535+scurveedog@users.noreply.github.com> Date: Wed, 6 Dec 2023 20:28:16 -0900 Subject: [PATCH] Update c.md change comment to floor() function --- source/_posts/c.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/c.md b/source/_posts/c.md index f5b0064..0e23de6 100644 --- a/source/_posts/c.md +++ b/source/_posts/c.md @@ -1058,7 +1058,7 @@ int sum(int k) { void main(void) { printf("%f", sqrt(16)); // square root printf("%f", ceil(1.4)); // round up (round) - printf("%f", floor(1.4)); // round up (round) + printf("%f", floor(1.4)); // round down (round) printf("%f", pow(4, 3)); // x(4) to the power of y(3) } ```