update cv3

This commit is contained in:
Ivan Leichenko 2024-10-14 14:29:01 +02:00
parent f04f75c1ac
commit c7b5abcc85

View File

@ -65,6 +65,7 @@ int main(int argc, char const *argv[])
{ {
if(buf[0] == '\n') if(buf[0] == '\n')
{ {
printf("no input\n");
break; break;
} }
@ -80,7 +81,7 @@ int main(int argc, char const *argv[])
} }
for (int i = 0; i < calc_stack.size; i++) for (int i = 0; i < calc_stack.size; i++)
{ {
printf("%2.f ", calc_stack.values[i]); printf("%.2f ", calc_stack.values[i]);
} }
printf("\n"); printf("\n");
} }