allow double values everywhere and round the result if we need integers
refs #20236
addresses: !879 (comment 48075)