Allow users to set the precision of output statistics.
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 7 Apr 2009 02:30:13 +0000 (10:30 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 7 Apr 2009 02:30:13 +0000 (10:30 +0800)
commitda299bd9871b178336a440c6ac53aebc3cea672e
tree237cd382bb55df22475f4982021b886bec4ba90a
parent23fe9f40872f54400ce10d87f349c8d317c21274
Allow users to set the precision of output statistics.

Instead of hard coding the width and decimals of output
numbers, respect the default format in most instances.
Counts are normally displayed with the format of the weight
variable, if any.  Closes patch #6785
36 files changed:
src/data/format.c
src/data/format.h
src/language/stats/binomial.c
src/language/stats/chisquare.c
src/language/stats/crosstabs.q
src/language/stats/descriptives.c
src/language/stats/examine.q
src/language/stats/frequencies.q
src/language/stats/npar-summary.c
src/language/stats/npar-summary.h
src/language/stats/oneway.q
src/language/stats/regression.q
src/language/stats/t-test.q
src/output/table.c
src/output/table.h
tests/bugs/multipass.sh
tests/bugs/t-test-alpha.sh
tests/bugs/t-test-alpha3.sh
tests/bugs/temp-freq.sh
tests/command/examine-extremes.sh
tests/command/examine.sh
tests/command/npar-binomial.sh
tests/command/npar-chisquare.sh
tests/command/oneway.sh
tests/command/regression-qr.sh
tests/command/regression.sh
tests/command/t-test-1-indep-val.sh
tests/command/t-test-1s.sh
tests/command/t-test-pairs.sh
tests/command/trimmed-mean.sh
tests/command/weight.sh
tests/stats/descript-basic.sh
tests/stats/descript-mean-bug.sh
tests/stats/descript-missing.sh
tests/stats/percentiles-compatible.sh
tests/stats/percentiles-enhanced.sh