Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


INTEGER-PART

The INTEGER-PART function returns an integer that is the integer portion of the argument specified.

The function type is integer.

Format
Read syntax diagramSkip visual syntax diagram>>-FUNCTION INTEGER-PART--(--argument-1--)---------------------><
 
argument-1
Must be class numeric.

If the value of argument-1 is zero, the returned value is zero. If the value of argument-1 is positive, the returned value is the greatest integer less than or equal to the value of argument-1. If the value of argument-1 is negative, the returned value is the least integer greater than or equal to the value of argument-1.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)