News for hackers. Stuff that matters.
Re:Python in the Windows 10 May update by acomjean on Friday June 07, 2019 @03:55PM (#20128003)
I always use bc -l, as it gives more digits in the reply.

Also available on macs/linux and most unixes. e.g.:

$echo '1/2' | bc

0

$ echo '1/2' | bc -l

.50000000000000000000

though honestlyI usually just type bc -l you enter into an interactive calculator similar to python.

There are no comments on this comment yet.