123
rated 0 times
[
123]
[
0]
/ answers: 1 / hits: 131735
/ 2 Years ago, wed, march 2, 2022, 1:04:38
bc
handles numbers as integers:
# echo "100/3" | bc
33
bc -l
handles numbers as floating point objects:
# echo "100/3" | bc -l
33.33333333333333333333
Is there a way to limit the number of digits after the decimal point?
More From » command-line