[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible to adjust output formatting for stat procedures?
From: |
Ben Pfaff |
Subject: |
Re: Possible to adjust output formatting for stat procedures? |
Date: |
Tue, 17 Mar 2009 20:32:28 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> I suggest that we git rid of the last two arguments to the tab_float
> function, and replace them by a single (const struct fmt_spec *) argument.
> This argument may be NULL, in which case the value of
> settings_get_format() will be used. For values such as means, stddevs
> and sums etc, it's appropriate to pass the print format of the
> variable from which they are calculated. Other values, particularly
> dimensionless ones, should be passed NULL.
If there is an appropriate "fmt_spec", just use the tab_value()
function instead. If for convenience we need a helper that can
take a "double" instead of a pointer to a union value (or two
helpers, one of which takes a char *), then that would be easy to
add.
--
Ben Pfaff
http://benpfaff.org