integer_equivalent_number_to_integer

mathtools.integer_equivalent_number_to_integer(number)

Changes integer-equivalent number to integer.

>>> import abjad

Returns integer-equivalent number as integer:

>>> abjad.mathtools.integer_equivalent_number_to_integer(17.0)
17

Returns noninteger-equivalent number unchanged:

>>> abjad.mathtools.integer_equivalent_number_to_integer(17.5)
17.5

Returns number.