Function: round(min(minus(numbers("per"), numbers('yxy')), numbers("per")), minus(numbers("per"), numbers('yxy'))) if min(minus(numbers("per"), numbers('yxy')), numbers("per")) if round(min(minus(numbers("per"), numbers('yxy')), numbers("per")), minus(numbers("per"), numbers('yxy'))) > minus(numbers("per"), numbers('yxy')) else numbers("per") > minus(numbers("per"), numbers('yxy')) else min(minus(numbers("per"), numbers('yxy')), numbers("per"))