<div dir="ltr">7 / 8.0 roundTo 0.01 = 0.88  Aha! Thanks!<div><br></div><div>But:</div><div><br></div><div>100 * (1.05 raisedTo: 10) roundTo: 0.01 162.89000000000001 </div><div>                                                              &quot;162.88946267774418&quot; &quot;unrounded&quot;</div><div>100 * (1.05 raisedTo: 15) roundTo: 0.01 207.89000000000001</div><div>                                                               &quot;207.8928179411367&quot;  &quot;unrounded&quot;</div><div> Bug, or me again :-)</div><div><br></div><div>MacBook Pro (Retina, 15-inch, Early 2013) <span style="font-family:&#39;Helvetica Neue&#39;;font-size:11px"> </span><span style="font-family:&#39;Helvetica Neue&#39;;font-size:11px">System Version:</span><span class="" style="font-family:&#39;Helvetica Neue&#39;;font-size:11px;white-space:pre">        </span><span style="font-family:&#39;Helvetica Neue&#39;;font-size:11px">OS X 10.10.2 (14C109)</span></div><div><span style="font-family:&#39;Helvetica Neue&#39;;font-size:11px"><br></span></div><div><div>Image</div><div>-----</div><div>/Users/chuck/Downloads/Squeak-4.5-All-In-One/Squeak-4.5-All-in-One.app/Contents/Resources/Squeak4.5-13680.image</div><div>Squeak4.5</div><div>latest update: #13680</div><div>Current Change Set: Unnamed1</div><div>Image format 6505 (32 bit)</div><div><br></div><div>Virtual Machine</div><div>---------------</div><div>/Users/chuck/Downloads/Squeak-4.5-All-In-One/Squeak-4.5-All-in-One.app/Contents/MacOS/Squeak</div><div>Croquet Closure Cog VM [CoInterpreter VMMaker.oscog-eem.331] 4.5</div><div>Mac OS X built on Aug 22 2013 10:08:05 Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3)</div><div>platform sources revision VM: r2776 <a href="http://www.squeakvm.org/svn/squeak/branches/Cog">http://www.squeakvm.org/svn/squeak/branches/Cog</a> Plugins: r2545 <a href="http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins">http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins</a></div><div>CoInterpreter VMMaker.oscog-eem.331 uuid: 37d2e4b0-2f37-4e2d-8313-c63637785e59 Aug 22 2013</div><div>StackToRegisterMappingCogit VMMaker.oscog-eem.333 uuid: 84da9cb8-7f30-4cb7-b4fb-239a11f63b54 Aug 22 2013</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 2:59 AM, Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In the interest of teaching how to fish, look at the senders of #roundTo: to find its usage.  <div><br></div><div>I&#39;ll post a full answer tomorrow if you don&#39;t beat me to it.</div><div><br></div><div>cheers -ben</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 4, 2015 at 4:34 PM, Chuck Hipschman <span dir="ltr">&lt;<a href="mailto:ckhipschman@gmail.com" target="_blank">ckhipschman@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">7 / 8.0 roundTo: 2 I expect 0.88, I get 0<div><br></div><div>What am I doing wrong, or this a bug?</div><div><br></div><div>TIA</div><span><font color="#888888"><div><br></div><div>Chuck</div></font></span></div>
<br></div></div>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div></div>