-5

The printf() function on your platform does not support the %f formatter.

1 Answers1

2

Well,

multiply the argument by 100

then

print it as an integer (%d)

and finally

insert a decimal separator before the second to last digit.

Glorfindel
  • 28,033
  • 9
  • 96
  • 142