Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

%-6.2d, what does the .2 mean

Name: Anonymous 2011-02-18 17:21

Alright, so I've searched the book I'm learning from, as well as the internet, and can't seem to find an answer to this...so I am turning to /prog/ as my last resort:
in the conversion specification %-6.2g, what does the .2 mean?
I know that the -6 means that there are a maximum of 6 characters shown, and that it is left justified, but the book doesn't mention what the number following a decimal means.
Help is greatly appreciated, thanks in advance

Name: Anonymous 2011-02-18 17:51

>>5
Link to the manual then? I tried searching online, and it's not in the book, that means I obviously couldn't find the answer, which isn't surprising because if I tried to search "%g conversion specification", it just gave me the same unclear info as the book, and if I tried to make it more specific I got no real results at all.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List