calca

Open full view…

BUG in division

maksa
Sat, 19 Mar 2016 10:54:34 GMT

987654321 / 123456789 => 8 8 * 123456789 => 987,654,312

meseventy
Wed, 30 Mar 2016 19:03:13 GMT

987654321 / 123456789 => 8.0000000729 8.0000000729 * 123456789 => 987654321

hashier
Mon, 09 May 2016 07:03:28 GMT

I have the same bug

onlywebmail
Fri, 30 Sep 2016 20:48:07 GMT

Yes, at me iPhone, the result is also wrong: 8 .... I just wanted to by the Windows version, but i need something that make correct calculations! Is this software developed still? This forum is *very* quite ... :-O

onlywebmail
Fri, 30 Sep 2016 21:00:56 GMT

I found "Problem with modulo and floating point numbers" below, which points at the same problem ... Internal, the calculations seems right: t=987654321 / 123456789 t*123456789 => 987654321

markljackson
Fri, 28 Oct 2016 07:42:10 GMT

FYI Python 2.7.1 on command line has the same issue. [Screen Shot 2016-10-28 at 2](//muut.com/u/calca/s2/:calca:WP4M:screenshot20161028at2.41.15am.png.jpg)

markljackson
Fri, 28 Oct 2016 08:13:06 GMT

Python 3.5.2, gets it correct. [Screen Shot 2016-10-28 at 3](//muut.com/u/calca/s2/:calca:HRxw:screenshot20161028at3.11.36am.png.jpg)

publicusernamewithpassword
Mon, 06 Feb 2017 07:48:09 GMT

store the first line as a variable, or set @precision=20 at the beginning of the script