[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] printf format specifier



Hi,

I thought that %02.1f would print floating points as xx.x or 0x.x but it does not. It prints x.x or xx.x.
How do I ensure that there always are 2 digits before the floating point?

Thanks!

H



Reply to: