meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
c:printf [2020/04/02 14:42] – created niziak | programming:c:printf [2024/05/21 19:17] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== printf ====== | ||
+ | |||
====== Cross platform format string ====== | ====== Cross platform format string ====== | ||
Line 11: | Line 13: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
+ | |||
+ | ====== Float padding ====== | ||
+ | |||
+ | The field //width// includes the decimal point and the fractional portion (and the sign, if it's negative). | ||
+ | |||
+ | |||
+ | ===== Padding negative numbers ===== | ||
+ | Flags: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||