Just a couple of friendly reminders ...
1/ Ensure PID is a number.
2/ There is a numerical limit on the password field (something like 999,999,999), so be careful as to the type of numerical ranges you are dealing with.
You can pass out your calculated variable "high" via a termination link simply by adding something like "?ID=[%high%]" to the end of the panel termination link.
Note: In my example, "ID" could be called something else with your panel provider, so check in with them as to what variable name they want to pass "high" out as.
Here is an example of a panel provider termination link I used recently ...
https://[blah blah blah]?ID=[%PW%], where "PW" was my password field I was passing back to the panel provider which they called "ID".