integer-valued function

noun
UK /ˈɪn.tɪ.dʒə ˈvæl.juːd ˈfʌŋk.ʃən/
US /ˈɪn.t̬ə.dʒɚ ˈvæl.juːd ˈfʌŋk.ʃən/

A function that always gives a whole number as its answer.

The number of pets a family owns is an integer-valued function of the family.


OTHER MEANINGS

2. A function whose outputs are restricted to the set of integers, often used in number theory.

The floor function is an integer-valued function that rounds down to the nearest whole number.

3. A mapping in computer science that returns an integer data type.

The random generator is an integer-valued function returning values from 1 to 6.

4. A function used in counting problems where results must be whole numbers.

The count of students in each class is an integer-valued function of the class.