Function: round(gradient[0](round(numbers("per"), numbers('xry'))) if max(gradient[0](round(numbers("per"), numbers('xry'))), round(numbers("per"), numbers('xry'))) > round(numbers("per"), numbers('xry')) else abs(max(gradient[0](round(numbers("per"), numbers('xry'))), round(numbers("per"), numbers('xry')))), abs(max(gradient[0](round(numbers("per"), numbers('xry'))), round(numbers("per"), numbers('xry')))))