Y
Hacker News
new
|
ask
|
show
|
jobs
by
OneOneOneOne
3368 days ago
In bc 10 / 3 => 3
It yields integer values unless started with -l option. What's up with that?
1 comments
yrro
3368 days ago
bc has a scale variable, which determines the precision of calculations. By default it is 0, but running with -l sets it to 20 (among other things).
link