[ncl-talk] Possible bug for the decimalPlaces in version 6.1.2?
Yuqiang Zhang
yuqiangzhang.thu at gmail.com
Sun Nov 27 16:27:20 MST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161127/5cc2b42e/attachment.html
More information about the ncl-talk
mailing list