Function: divide(round(numbers('rep'), numbers("xxr")), numbers('rep')) if numbers("xxr") > round(numbers('rep'), numbers("xxr")) else numbers('rep') if divide(round(numbers('rep'), numbers("xxr")), numbers('rep')) > numbers('rep') if round(numbers('rep'), numbers("xxr")) > round(numbers('rep'), numbers("xxr")) if divide(round(numbers('rep'), numbers("xxr")), numbers('rep')) > numbers('rep') else numbers("xxr") else divide(round(numbers('rep'), numbers("xxr")), numbers('rep')) else round(numbers('rep'), numbers("xxr"))