Hello
Is there anything in "printf" that lets me print in right justified?
Example:
making this right justified:
Code:printf("%-14.2lf", number);
Thanks
Hello
Is there anything in "printf" that lets me print in right justified?
Example:
making this right justified:
Code:printf("%-14.2lf", number);
Thanks
Yes, just remove the - in front of 14.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.