diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-08 22:49:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-08 22:49:28 +1200 |
commit | 677d0e5fdc76620253af865ca03fd602c0419047 (patch) | |
tree | a47d3e848aace0f9f2d7b7d2443f1e0588fab70a /bin/mode.awk | |
parent | Add more color-setting attempts to rgl(1df) (diff) | |
download | dotfiles-677d0e5fdc76620253af865ca03fd602c0419047.tar.gz dotfiles-677d0e5fdc76620253af865ca03fd602c0419047.zip |
Generalise mean,med,mode,tot(1df) to numbers
Not just integers
Diffstat (limited to 'bin/mode.awk')
-rw-r--r-- | bin/mode.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mode.awk b/bin/mode.awk index beced1f4..500fce2a 100644 --- a/bin/mode.awk +++ b/bin/mode.awk @@ -9,5 +9,5 @@ END { for (val in vals) if (vals[val] > vals[mode]) mode = val - printf "%u\n", mode + print mode } |