The following code works:
int main(void)
{  
   float f = get_float();
   int i = round(f*100);
   printf("%i\n", i); 
}
Yet, error generated if coding this way:
printf("%i\n", round(1.21*100));
Output says round(1.21*100) is float. So, then why 
int i = round(f*100); 
is fine?
 
     
     
    