Add allow_infinite
to check_number_whole()
#1593
Merged
allow_infinite
to check_number_whole()
#1593