I am trying to include the degrees Celsius symbol (°C) in my code, this is what I have and it is not working:
$('#temp').unbind().append((Math.round(temperature - 273.15)) + '℃');Advertisement
Answer
You just miss ; in ℃
I am trying to include the degrees Celsius symbol (°C) in my code, this is what I have and it is not working:
$('#temp').unbind().append((Math.round(temperature - 273.15)) + '℃');You just miss ; in ℃