Try passing through a Global Value Element that has precision of 2
new value vV_Temp
new string vS_Temp
new string vS_Display
vV_Temp precision = 1
vV_Temp = "MB_200_1W_HLT_Probe_MC" value
"gblV_Temp" value = vV_Temp
vS_Temp = "gblV_Temp" value
vS_Display = "Kettle Temp: "
vS_Display = vS_Display + vS_Temp
vS_Display = vS_Display + " °F"
print vS_Display
As an aside, your naming of Elements may cause a problem in the future. "Kettle Temp" is now an object. For example, if you had
vS_Display = "Kettle Temp"
It would throw an error:
[ERROR Line 13: Object reference not set to an instance of an object.]
I give my Elements meaningful but unique names and use the Display Name Property to change the label
MB_200_1W_HLT_Probe_MC is my one wire HLT probe on the Main Brewery Interface (Mega 2560), Port 200, and it is on my Main Control Workspace.
The Display Name is HLT °F
View attachment 859578