# Workarround, change Farenheit to Celcius

**URL:** <https://forums.losant.com/t/workarround-change-farenheit-to-celcius/429>\
**Category:** Help\
**Created:** [March 1, 2017, 10:08am UTC](https://forums.losant.com/t/workarround-change-farenheit-to-celcius/429 "2017-03-01T10:08:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_X\_LEYTENS](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/francois_x_leytens/32/298_2.png) [@Francois\_X\_LEYTENS](https://forums.losant.com/u/Francois_X_LEYTENS)\
**Post date:** [March 1, 2017, 10:08am UTC](https://forums.losant.com/t/workarround-change-farenheit-to-celcius/429/1 "2017-03-01T10:08:43Z")

</div>

Hi,

I am new to Losant, but already impressed.

Just a question, in the exercice from the workarround (Dark Sky API + Dashboard), how can I extract the temperature in farenheit, convert it to celcius to display in the dashboard.

I have tryied on the workflow using a Math box, but nothing works.

Thanks

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [March 1, 2017, 4:42pm UTC](https://forums.losant.com/t/workarround-change-farenheit-to-celcius/429/2 "2017-03-01T16:42:49Z")

</div>

I’m happy you like losant 🙂

You can easily use the Function Node for this.

[https://docs.losant.com/workflows/logic/function/](https://docs.losant.com/workflows/logic/function/)

With it, you can read the payload, do the math to convert to Celcius, and attach the new value.

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [March 1, 2017, 4:57pm UTC](https://forums.losant.com/t/workarround-change-farenheit-to-celcius/429/3 "2017-03-01T16:57:39Z")

</div>

Also, this is doable and still recommended to do with the Math node. Here is an example:

[Math.flow](https://forums.losant.com/uploads/short-url/5s3tcrZXGu1TK4qRnTrsgqqpYVR.flow) (902 Bytes)

In the Math node, you can use this expression:

`( {{data.fahrenheit }} - 32) * 5/9`
