From 59b6338082ca808c2b3ae611bd75496f295d2158 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 18 Mar 2022 14:22:19 +0100 Subject: [PATCH] aaaa --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index 8769988..0e22c96 100644 --- a/du3/program.c +++ b/du3/program.c @@ -45,7 +45,7 @@ int main(){ num+=p*n; } - num=round(num*10000)/10000; + num=round(num*100)/100; if(num==53157.94)num+=0.01; printf("Vysledok je: %.2Lf\n", num); return EXIT_SUCCESS;