ROUND(1)
β¨ ROUND(1) β¨
okay bestie, this is numround β the little Perl script from the num-utils squad that's about to round every number it bumps into. no cap, that's literally the whole job. π
π NAME π
numround β a program that rounds off numbers it encounters. that's it. that's the girl. π
π¦ SYNOPSIS π¦
numround [-cdfhV] <FILE>
| numround [-cdfhV] (Input on STDIN from pipeline.)
numround [-cdfhV] (Input on STDIN. Use Ctrl-D to stop.)
so you can hand it a file, you can pipe stuff into it, or you can just type numbers at it and hit Ctrl-D when you're done. three moods, same icon behavior. β¨
πΈ DESCRIPTION πΈ
numround will simply round decimal numbers to the nearest integer, or β if you're feeling fancy β to a factor of any number, using the -n option. it can also be forced to round up (ceiling) or down (floor) with the -c and -f options. lowkey a whole rounding machine. π«Ά
π OPTIONS π
-cβ force the number to be rounded up. ceiling energy. β¬οΈ-fβ force the number to be rounded down. floor energy. β¬οΈ-n <n>β round numbers to the nearest factor of<n>.-hβ print out some helpful information aboutnumround. she explains herself. π-Vβ increase verbosity. this will print out numbers as it finds them. she's yapping (affectionate).-dβ debug mode. for developers only. π§
π BUGS π
numround currently only rounds the first number on each line. eventually this will be changed as all the numeric utilities are developed. (yes, bestie, she's a work in progress. we're being patient.) π
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. β οΈ not a vibe for precision math, fr fr.
π§ SEE ALSO π§
numaverage(1), numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1) β the whole friend group. go say hi. π
π COPYRIGHT π
numround is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. please read the COPYING and LICENSE files that came with the num-utils package. π
developers can read the GOALS file and contact me about providing submitions or help for the project. π«‘
β MORE INFO β
more info on numround can be found at:
http://suso.suso.org/xulu/Num-utils
and that's the page, bestie!! this one's perl v5.30.3, dated 2020-06-09, and it's ROUND(1) from the User Contributed Perl Documentation set β tysm for reading, mwah, go round some numbers πβ¨π
π¦ where this page comes from
- debian bookworm: num-utils 0.5-15 Β· GPL-2.0-or-later
- debian trixie: num-utils 0.5-15 Β· GPL-2.0-or-later
- ubuntu jammy: num-utils 0.5-15 Β· GPL-2.0-or-later
- ubuntu noble: num-utils 0.5-15 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms