<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Truncating 8*27/27 equals 7 on FILEOPEN if a cell is formatted other than General"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118177#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Truncating 8*27/27 equals 7 on FILEOPEN if a cell is formatted other than General"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118177">bug 118177</a>
from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
<pre>Well, yes, =TRUNC(A3-1)*F3 does something different than =TRUNC((A3-1)*F3) if
the value in F3 is is not exactly a fraction of (A3-1). As A3 is an integer
that's the same as =(A3-1)*F3
If you loaded your document and widen column C to display all decimals (with
cell cursor on C3 press Shift+Alt+CursorRight) you'll see the actual result
7.99999999999999 that for a narrower column is rounded to 8. Same if a number
format 0.00000000000000 was applied.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>