numround(1)

numround1

A program that rounds off numbers it encounters.

Usage

numround [-cdfhV] <FILE>

numround [-cdfhV] (Input on STDIN. Use Ctrl-D to stop.)

Overview

numround will simply round decimal numbers to the nearest integer or to a factor of any number using the -n option. You can also force it to round up (ceiling) or round down(floor) using the -c and -f options.

Options

    -c      Force the number to be rounded up. Ceiling.
    -f      Force the number to be rounded down. Floor.
    -n <n>  Round numbers to the nearest factor of <n>.
    -h      Print out some helpful information about numround.
    -V      Increase verbosity.  This will print out numbers as it finds them.
    -d      Debug mode.  For developers only.

More info

More info on numround can be found at:

http://suso.suso.org/xulu/Num-utils

Releases

10 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0–8
  4. 9–10
  5. 11–13

Bugs

numround currently only rounds the first number on each line. Eventually this will be changed as all the numeric utilities are developed.

numround will drop off the decimal places in decimal numbers. This may cause some calculations to be in error, depending on how you are using the data.

From num-utils 0.5-15 in Debian 13 (Trixie). Parsed by carta from the page's man source.