Re: value()
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 18, 2003
- 406 views
On Tue, 18 Feb 2003 00:30:04 -0300, <rforno at tutopia.com> wrote: > > Derek: > What do you mean by "truncating digits"? The only digits I see that %g > truncates are zeroes at the right of the decimal part, that perhaps is > what > the user wants. Is this what you mean? printf(1, "%g", 12.3456789) ==> 12.3457 printf(1, ".16g%", 12.3456789) ==> 12.3456789 -- cheers, Derek Parnell