Hello,

Your BC calculator does not do any truncation for the scale value

when it does a multiplication.  See example below.

It works fine on division, but not on multiplication.

Cheers!

Tom Bracken

[thomas@HP6005computer1 ~]$ bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
scale = 5
56.4325435 / 6.3408340583467346436
8.89986
56.4325435 * 6.3408340583467346436
357.82939_38239336408579_
56.4325435 * 6.3408340583467346436 / 1
357.82939
quit
[thomas@HP6005computer1 ~]$




--

Reply via email to