I believe this is related to this reported bug:
http://www.ncl.ucar.edu/Support/talk_archives/2008/1061.html
which has been fixed.
I've attached a "dp.ncl" file that contains the fixed "decimalPlaces"
function.
Load this file after
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" is loaded, and
it should fix your problem.
--Mary
On Tue, 12 Aug 2008, hjb wrote:
> Dear everyone,
>
> Some problem arose when the function decimalPlaces was used.
> For example, a = -100.0;
> b = decimalPlace(a,1,True)
> but the result shows that b is -99.9,which likes a missing value.
> Can anyone give the explantation about the problem?
> Thanks in advance.
>
>
>
>
> hjb
> 2008-08-12
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.2.0 : Thu Aug 14 2008 - 08:32:15 MDT