对不起,我的标题不好。我很困惑在 1 行中解释标题。这是我的问题:
echo "scale=0;9 * 150 + 8.092 * 560 + 3.181" | bc
而不是得到
5885
但是,我得到了输出
5884.701
任何人?
bash shell
bash ×1
shell ×1