Re: [Gimp-developer] what means "g" ?
- From: Mukund Sivaraman <muks banu com>
- To: Cristian Secară <liste secarica ro>
- Cc: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] what means "g" ?
- Date: Sun, 4 Dec 2011 21:17:52 +0530
Hi Cristian
On Sun, Dec 04, 2011 at 05:40:24PM +0200, Cristian Secară wrote:
> I have these strings:
>
> Rotate by %-3.3g° around (%g, %g)
> Shear horizontally by %-3.3g
> Shear vertically by %-3.3g
> Shear horizontally by %-3.3g, vertically by %-3.3g
>
> What is "g" ?
> And what is "3.3g" ?
%g is a printf format specifier for printing floating-point numbers in
a particular format. You can see the printf manpage (man 3 printf) for
details. For the strings above, you can consider it equivalent to %f.
Mukund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]