Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME rounddown - rounddown rounds a number off, but does NOT round up the last digit even if it is 5 or more. SYNOPSIS rounddown -val [VALUE] -prec [PRECISION] (valid precision values range from 6 to -6) DESCRIPTION The rounddown command will round a given value you specify without rounding up the digit associated with precision. It relies on the "correction" command and is therefore limited in its precision to numbers corresponding to the millions down to the millionth place. EXAMPLES Example: rounddown -val 1222522.2262556 -prec 2 Result: 1222522.22 Example: rounddown -val 1222522.2262556 -prec -6 Result: 1000000 AUTHOR Paul M. Boren pmboren AT gmail DOT com