Function: round(invert(numbers("yyy")) if numbers("xxr") > numbers("yyy") else numbers('yxr') if invert(numbers("yyy")) > max(numbers("yyy") if numbers('yxr') > numbers("xxr") else invert(numbers("yyy")), invert(numbers("yyy"))) else numbers("yyy"), max(numbers("xxr") if invert(numbers("yyy")) > numbers('yxr') else numbers("yyy"), invert(numbers("yyy"))))