# \#function

**URL:** https://forums.losant.com/tag/function/28.md

[Latest](https://forums.losant.com/latest.md) · [Categories](https://forums.losant.com/categories.md) · [Tags](https://forums.losant.com/tags.md)

---

## [Issue setting payload in function](https://forums.losant.com/t/issue-setting-payload-in-function/4839)

<div class="topic-metadata">

**Author:** [@Paolo\_Proxy](https://forums.losant.com/u/Paolo_Proxy)\
**Replies:** 3\
**Last updated:** [December 13, 2022, 3:20pm UTC](https://forums.losant.com/t/issue-setting-payload-in-function/4839 "2022-12-13T15:20:59Z")

</div>

Hi there, I have a function with a scope payload and I want to set the result. I am confused why this is now working?

---

## [Help with javascript file](https://forums.losant.com/t/help-with-javascript-file/4580)

<div class="topic-metadata">

**Author:** [@Jonatas\_Liasch](https://forums.losant.com/u/Jonatas_Liasch)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 6:28pm UTC](https://forums.losant.com/t/help-with-javascript-file/4580 "2022-06-07T18:28:05Z")

</div>

Hi I’m trying to communicate with google sheets, I managed to develop the code to insert data in VS Code. I would like to know how I can run this code through Losant. I know I have to change some code variables to int…

---

## [Select single value from payload](https://forums.losant.com/t/select-single-value-from-payload/4252)

<div class="topic-metadata">

**Author:** [@Felice\_Massaro](https://forums.losant.com/u/Felice_Massaro)\
**Replies:** 8\
**Last updated:** [December 7, 2021, 4:54am UTC](https://forums.losant.com/t/select-single-value-from-payload/4252 "2021-12-07T04:54:42Z")

</div>

I am not a coder but I challenge myself. I am attempting to select only a specific value from a payload. this is my payload: { "applicationId": "61ac43d686ea5501fd13a215", "applicationName": "Sigfox callback", "d…

---

## [Open function block code window in read-only mode when on a branch](https://forums.losant.com/t/open-function-block-code-window-in-read-only-mode-when-on-a-branch/4205)

<div class="topic-metadata">

**Author:** [@Wesley\_Manning](https://forums.losant.com/u/Wesley_Manning)\
**Replies:** 5\
**Last updated:** [November 17, 2021, 10:26pm UTC](https://forums.losant.com/t/open-function-block-code-window-in-read-only-mode-when-on-a-branch/4205 "2021-11-17T22:26:55Z")

</div>

It would be nice to open the code window on the function block when on a version other than develop. In read-only mode, not asking for editing capability. When an error workflow comes in you can hover over the error to …

---

## [Function writeup for Cyclical Hexadecimal Payloads](https://forums.losant.com/t/function-writeup-for-cyclical-hexadecimal-payloads/1755)

<div class="topic-metadata">

**Author:** [@tirosh\_gutte](https://forums.losant.com/u/tirosh_gutte)\
**Replies:** 8\
**Last updated:** [May 8, 2019, 2:03am UTC](https://forums.losant.com/t/function-writeup-for-cyclical-hexadecimal-payloads/1755 "2019-05-08T02:03:48Z")

</div>

Successfully established a webhook that provide a payload every 10 min from 4 distinctly different data sets. Every 10 min the payload represent a different data origin trough a single webhook: first 10 min the payload w…

---

## [\[Solved\] Hex to 32-bit float](https://forums.losant.com/t/solved-hex-to-32-bit-float/1339)

<div class="topic-metadata">

**Author:** [@Calvin\_Foo](https://forums.losant.com/u/Calvin_Foo)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 3:38am UTC](https://forums.losant.com/t/solved-hex-to-32-bit-float/1339 "2019-01-22T03:38:37Z")

</div>

how to convert hex (in string) to 32-bit float (IEEE 754)?
