John Darrington <[email protected]> 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


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to