in reply to Rounding function

Thanks for the answers! I obviously did not really understand what sprintf did.

Replies are listed 'Best First'.
RE: RE: Rounding function
by reptile (Monk) on Apr 25, 2000 at 01:42 UTC

    One quick place to look for information on *printf is man 3 printf. It's the C manpage on printf, but perl implements it more or less just like in C. You'll probably find it very helpful in the future for printing anything in the format you like.

    I think I'll write a comprehensive tutorial on *printf at some point, unless someone knows about a good one already out there. At least in my version of perldocs, the printf page just says 'just like in C'.