fixnute zaokruhlovanie

This commit is contained in:
Aleš Novysedlák 2025-03-03 18:16:29 +01:00
parent 8c8ec36eca
commit b9804ce1ac

View File

@ -21,7 +21,7 @@ int main() {
result = result * x + coeficient[i];
}
printf("Vysledok je: %.2f\n", round(result * 100) / 100);
printf("Vysledok je: %.2f\n", result);
return 0;
}