It looks like bc doesn't support float operations, when I do echo 1/8 | bc it get me a zero.
I checked bc (1), but it doesn't even mention float, so I wonder if it's supported?
|
It looks like bc doesn't support float operations, when I do I checked |
|||
|
Anytime you want (whether The default scale sans |
|||
|
|
|
man page says:
The comprehensibility of that could be improved, indeed... |
|||||
|
echo "scale=4; 1/8" | bc– LiuYan 刘研 Mar 4 at 2:20