I am trying to round a parameter up to either 5 or 10. I am wondering if there is a way to write this into the relations so when this parameter is calculated in the relations it rounds automatically.
I'm assuming that you want to round to the nearest multiple of 5.
Pro/E doesn't have a 'modulo' function in its relations editor, so its necessary to brew your own. It's messy either way.
Let's say your parameter is called "NUM". Relation code for rounding it is as follows: