Hi all,
Has anyone noticed that the decimalPlaces function seems to round
incorrectly for small negative numbers? Here is an example of what I mean:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
example = -0.041
print(example)
print(decimalPlaces(example,2,True))
Any thoughts?
Thanks,
Matt
-- Matt Higgins Department of Atmospheric and Oceanic Sciences Cooperative Institute for Research in Environmental Sciences University of Colorado - Boulder matthew.higgins_at_colorado.edu _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Jul 29 2008 - 13:28:56 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 30 2008 - 15:23:14 MDT