Function: mod(min(numbers('rep'), numbers("xxr")) if numbers('rep') > max(min(numbers('rep'), numbers("xxr")), numbers('rep')) if numbers('rep') > min(numbers('rep'), numbers("xxr")) else numbers("xxr") else max(min(numbers('rep'), numbers("xxr")), numbers('rep')), numbers("xxr") if min(numbers('rep'), numbers("xxr")) > max(min(numbers('rep'), numbers("xxr")), numbers('rep')) else numbers('rep'))