<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[IEEE754 Float to Decimal]]></title><description><![CDATA[<p dir="auto">I have to convert a float value into decimal for modbus application.<br />
I would like to realize this in UIflow.</p>
<p dir="auto">Is there any function available or perhaps a program flow code?<br />
Is it in general possible to realize this in UIflow blocks?</p>
<p dir="auto">Just found an information how to create a custom block with Python.<br />
Perhaps it already exists a m5b file? Otherwise I will try to create an m5b file.</p>
<p dir="auto">Any other idea, how to convert float to decimal in UIflow?</p>
<p dir="auto">Added:<br />
I am reading out a smart meter with M5stack and UIflow:<br />
<img src="/assets/uploads/files/1656778076769-646564-resized.jpg" alt="0_1656778068062_646564.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">The result is a floating point format value, here 17008.</p>
<p dir="auto"><img src="/assets/uploads/files/1656778182732-63438.jpg" alt="0_1656778173255_63438.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Converting into decimal is not available in UIflow and converting into an integer value is not working, as expected.<br />
Therefore the second value on display shows nothing (only default text).</p>
]]></description><link>https://community.m5stack.com/topic/4412/ieee754-float-to-decimal</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 16:31:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4412.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Jul 2022 06:15:40 GMT</pubDate><ttl>60</ttl></channel></rss>