bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CONVFMT not (always?) honoured.


From: David Jones
Subject: CONVFMT not (always?) honoured.
Date: Tue, 28 Oct 2003 14:39:00 +0000

I was going to report this against my FreeBSD's default of 3.0.6 but I
remember that you guys always want me to use the latest version.

The following program should output two lines with "0.33" on shouldn't
it?


$ gawk313 'BEGIN{CONVFMT="%.2f";print (1/3)+"";a[1/3]=1;for(i in a)print i}'
0.333333
0.33


Cheers,
 drj




reply via email to

[Prev in Thread] Current Thread [Next in Thread]