The following statement (for a value of 12345.67 for a double:
printf("that is 09.2f: <%09.2f>\n", double_dollar_amount_with_cents);
"that is 09.2f: < 12345.67>"
Why am I not getting the leading 0 likeI would for something like "%05ld"? Is it not supported for floats on all compilers?