I have this string
([math]::Round(($data.temperature.min - 273.15)*9/5+32))
I am try to append a F for Fahrenheit to the string.
Having a brain fart.
You can use the format operator to create formatted strings.
"{0} (F)" -f ([math]::Round(($data.temperature.min - 273.15)*9/5+32))
Result: -460 (F)
Another way is simply to cast it to a string :
[string] ([math]::Round(($data.temperature.min – 273.15)*9/5+32) )+ 'F'
Thanks fellas!