<div dir="ltr"><div><div><div>Thx for the information. This will be fixed in NCL 6.4 0<br></div>I have attached a fix which you can use. See test script.<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 27, 2016 at 4:27 PM, Yuqiang Zhang <span dir="ltr"><<a href="mailto:yuqiangzhang.thu@gmail.com" target="_blank">yuqiangzhang.thu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div class="m_-8745170954605209638WordSection1"><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">When I am using “decimalPlaces” in version 6.1.2, it seems no different for the result whether I use “<span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333;background:white">Truncate</span>” or “Round”. It both gave the round result. <u></u><u></u></p><p class="MsoNormal">x=12.345678<u></u><u></u></p><p class="MsoNormal">xRound = decimalPlaces(x, 2, True)<u></u><u></u></p><p class="MsoNormal">xRound = 12.35<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">xRound = decimalPlaces(x, 2, False)<u></u><u></u></p><p class="MsoNormal">xRound = 12.35<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I only have the version 6.1.2 installed on my machine. If this is corrected in the new released version, please ignore this email. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks! <u></u><u></u></p><p class="MsoNormal">Regards,<u></u><u></u></p><p class="MsoNormal">Yuqiang<u></u><u></u></p></div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>