# \#format

**URL:** https://forums.losant.com/tag/format/23.md

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

---

## [MQTT message publish on topic showing odd data formatting in workflow debug putput](https://forums.losant.com/t/mqtt-message-publish-on-topic-showing-odd-data-formatting-in-workflow-debug-putput/3816)

<div class="topic-metadata">

**Author:** [@Andrew\_Leckie1](https://forums.losant.com/u/Andrew_Leckie1)\
**Replies:** 2\
**Last updated:** [June 1, 2021, 11:23pm UTC](https://forums.losant.com/t/mqtt-message-publish-on-topic-showing-odd-data-formatting-in-workflow-debug-putput/3816 "2021-06-01T23:23:58Z")

</div>

Hello, I have a device that publishes to a specific MQTT topic using byte encoded binary values (the hex version is this: “7ef455000281c1b160150000002c01000002010101002c01000002010101002c01000000000000002c01000000000000…

---

## [\[Solved\] Fixed point rounding](https://forums.losant.com/t/solved-fixed-point-rounding/1481)

<div class="topic-metadata">

**Author:** [@paul\_wareham](https://forums.losant.com/u/paul_wareham)\
**Replies:** 4\
**Last updated:** [January 27, 2019, 6:11pm UTC](https://forums.losant.com/t/solved-fixed-point-rounding/1481 "2019-01-27T18:11:22Z")

</div>

Is there a helper to round numbers to a fixed number of digits after the decimal, similar to JavaScript toFixed()? I’d like to tidy up numbers before presentation in the HTML of the sendgrid node.
