Aktualizovat „a1/program.c“
This commit is contained in:
parent
7d616ee905
commit
102dcc7bc9
@ -23,7 +23,7 @@ int main()
|
|||||||
if(value>=40000){
|
if(value>=40000){
|
||||||
value =((int)(value*100 - 0.5)/100.00);
|
value =((int)(value*100 - 0.5)/100.00);
|
||||||
}
|
}
|
||||||
printf("Vysledok je :%Lf\n",value);
|
printf("Vysledok je :%.2Lf\n",value);
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user