>  Docs Center  >  Libraries  >  Buie  >  LIBRARIES_ROUND
Libraries

LIBRARIES_ROUND

LIBRARIES_ROUND

Name


    round

Purpose (one Line)


    round a floating point number.

Description


    rounds a floating point number to the nearest whole number.

Category


    Mathematical

Calling Sequence


    round( x )

Inputs


    x : The number to be rounded.

Optional Input Parameters


    None.

Keyword Parameters


    None.

Outputs


    Function value: The rounded number.

Common Blocks


    None.

Side Effects


    None.

Restrictions


    None.

Procedure


    Applies symmetric rounding to the given number.

Modification History


    Ported by Doug Loucks, Lowell Observatory, 1992 Sep, from the routine
    in pixwt.c written by Marc Buie.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us