ROUND(1)
π ROUND(1) π
hey bestie, you just opened the ROUND(1) page from the User Contributed Perl Documentation π this is all about round, and she's ready to round numbers for you.
πΈ NAME πΈ
round β a program that rounds off numbers it encounters. no cap, that's literally her whole job β¨
π¦ SYNOPSIS π¦
okay so here's how you call her β copy-paste energy, exactly:
round [-cdfhV] <FILE>
| round [-cdfhV] (Input on STDIN from pipeline.)
round [-cdfhV] (Input on STDIN. Use Ctrl-D to stop.)
β¨ DESCRIPTION β¨
round is part of the numeric utilities package π§ she will simply round decimal numbers to the nearest integer, or to a factor of any number using the -n option. You can also force her to round up (ceiling) or round down (floor) using the -c and -f options. it's giving precision but make it cute π
π OPTIONS π
-cβ force the number to be rounded up. that's the Ceiling vibe π-fβ force the number to be rounded down. that's the Floor vibe π§-n <n>β round numbers to the nearest factor of<n>π’-hβ print out some helpful information aboutroundπ«Ά-Vβ increase verbosity. this will print out numbers as it finds them π-dβ debug mode. for developers only π οΈ no touching unless you're a dev, bestie
π BUGS π
okay so real talk β round currently only rounds the first number on each line. Eventually this will be changed as all the numeric utilities are developed. so yes, first number only for now, periodt.
Also: round 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. so like, be aware, bestie β that decimal loss can absolutely mess with your math if you're using the data a certain way π
π SEE ALSO π
π COPYRIGHT π
round 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 π«Ά (yes, "submitions" is how it's written here β keepin' it exactly as the page says, bestie).
β MORE INFO β
More info on round can be found at:
http://suso.suso.org/programs/num-utils/
mwah π β this cutie is version perl v5.42.3, dated 2004-11-19, and it's the ROUND(1) page. byeee, go round some numbers β¨π
π¦ where this page comes from
- nixos 26.05: num-utils 0.5
- nixpkgs unstable: num-utils 0.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms