fork download
  1. int main()
  2.  
  3. {
  4.  
  5. float f = (char) 5.23f;
  6.  
  7. printf("%.2f", f);
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
5.00