[ncl-talk] Possible bug for the decimalPlaces in version 6.1.2?
Dennis Shea
shea at ucar.edu
Mon Apr 2 15:32:47 MDT 2018
AAs a very Caq
Sent from my iPhone
> On Nov 28, 2016, at 7:05 PM, Yuqiang Zhang <yuqiangzhang.thu at gmail.com> wrote:
>
> Thanks for the patches!
> Regards,
> yuqiang
>
> From: Dennis Shea [mailto:shea at ucar.edu]
> Sent: Monday, November 28, 2016 7:43 PM
> To: Yuqiang Zhang <yuqiangzhang.thu at gmail.com>
> Cc: ncl-talk at ucar.edu
> Subject: Re: [ncl-talk] Possible bug for the decimalPlaces in version 6.1.2?
>
> Thx for the information. This will be fixed in NCL 6.4 0
> I have attached a fix which you can use. See test script.
>
>
> On Sun, Nov 27, 2016 at 4:27 PM, Yuqiang Zhang <yuqiangzhang.thu at gmail.com> wrote:
> Hi,
>
> When I am using “decimalPlaces” in version 6.1.2, it seems no different for the result whether I use “Truncate” or “Round”. It both gave the round result.
> x=12.345678
> xRound = decimalPlaces(x, 2, True)
> xRound = 12.35
>
> xRound = decimalPlaces(x, 2, False)
> xRound = 12.35
>
> 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.
>
> Thanks!
> Regards,
> Yuqiang
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180402/2569ff74/attachment.html>
More information about the ncl-talk
mailing list