fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float floatingPart = 1.400000;
  5. printf("%0.8hf\n", (float)floatingPart);
  6. return 0;
  7. }
  8.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
1.39999998