>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  GFLOOR

GFLOOR

GFLOOR

Name


      GFLOOR

Purpose


      Generalized floor function, step not limited to 1.

Category


Calling Sequence


      fnum = gfloor(num, step)

Inputs


      num = Input value. in
      step = interval size (def=1). in

Keyword Parameters


Outputs


      fnum = Returned gfloor of num. out

Common Blocks


Notes


      Notes: The gfloor of num with a given step is the
      next multiple of step LE num. For example
      gfloor(137,25) is 125, gfloor(12.33,0.5) is 12.0.
      Make sure to use a decimal when needed, like for
      gfloor(-137.,25) is -150.

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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us