Originally Posted by jlinkels
I wonder what you kids learn in school nowadays.
and of course this works in lc as well:
echo "e(4.7*l(2))" | bc -l
Good point, jlinkels, but remember it looses some precision due to introducing more rounding off.
One possible workaround would be to increase precision by two digits, performing the calculation and rounding back to the desired precision (still looses precision due to rounding but way less).
p.s.: don't trust that much in high school curriculum: there is much more distraction for kids nowadays (TV and internet for instance...).