This commit is contained in:
Matej Hajduk 2025-09-30 09:50:40 +02:00
parent b39b3fb658
commit dc09cfa2b4

View File

@ -55,8 +55,9 @@ int main() {
if (strstr(norm_dish, h) != NULL) {
printf("%s\n", j);
double con = atoi(price);
printf("%.2f\n", con );
double con
sscanf(price, "%.2f", &con);
printf( con );
}
}