You can use printf directly without using float
printf("%d.%02d", num/100, num%100);
% 02d means zero-right justification.
if num is 4455 ==>output is 44.55 if num is 203 ==>output is 2.03
EDIT:
after seeing a comment from @Eric Postpischil, it's better to use this.
printf("%d.%02d", (int) (num/100), (int) (num%100));
source share