GCEIL Name
GCEIL Purpose
Generalized ceil function, step not limited to 1.
Category
Calling Sequence
fnum = gceil(num, step) Inputs
num = Input value. in
step = interval size (def=1). in
Keyword Parameters
Outputs
fnum = Returned gceil of num. out
Common Blocks
Notes
Notes: The gceil of num with a given step is the
next multiple of step GE num. For example
gceil(137,25) is 150, gceil(12.33,0.5) is 12.0.
Make sure to use a decimal when needed, like for
gceil(-137.,25) is 125.
Modification History
R. Sterner, 2005 Apr 12
Copyright (C) 2005, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.