When I run:
fval=1.40 ; echo "scale=0 ; 1000 * ${fval}" | bc
I get the result:
1400.00
With my specified value for scale
, I expect no decimal digits.
Does anyone else have this issue?
Version: bc
1.07.1
Ubuntu 22.04.4 LTS
(Upgrade of Ubuntu MATE from 20.04 LTS to 22.04.04 LTS, not a fresh install)