Help for this page

Select Code to Download


  1. or download this
    float x = 147.2;
    printf("%20.20f", x * 100);
    
  2. or download this
    float x = 147.2;
    printf("%d", x * 100);
    
  3. or download this
    float x = 147.2;
    printf("%d", (int)(x * 100));