I need to create a way to round a specific variable(metertemp and provertemp) to be rounded to either xx.x0 or xx.x5 all other variables can use the current code below.

My current code is:


...