| These argument formats are recognized by printf: | ||
| %c | Single character. | |
| %d | Decimal number. | |
| %e | [-]d.dddddde[+-]ddd | |
| %f | [-]ddd.dddddd | |
| %g | %e or %f formatting, whichever is shorter. | |
| %o | Unsigned octal number. | |
| %s | String. | |
| %x | Unsigned hexadecimal number. | |
| %% | Literal % character. | |
| Additional parameters may lie between the % and the control letter: | ||
| - | Left-justify expression in its field. | |
| width | Pad field to this width as needed; leading 0 pads with zeros. | |
| .prec | Maximum string width or digits to right of decimal point. | |
Back to Procedures
Hamilton C shell |
Free Updates |
Free Demo Software |
Win32 Training
Y2K |
Customer Testimonials |
On-line Hamilton C shell User Guide
Home |
Email |
Support |
Company Profile |
Distributors |
Links
Copyright © 1997-2001 by Hamilton Laboratories. All rights reserved.
You are visitor number
.
This page was last modified August 9, 2001.