fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5. float num=28.47f;
  6.  
  7. printf("num=%07.2F\n",num);
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
num=0028.47