<?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[round to one decimal in UI flow]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">Is there a way to round a variable to 1 decimal like in Python round(3.14,1) achieves 3.1<br />
In the Math folder of UI flow, there is a round operator but there are only 3 possibilities : round, roundup and round down.<br />
I am using the environement sensor and my temperature shows up with plenty of non signidicant decimals  28.1234 deg C. I would like to indicate 28.1..<br />
Did I miss something ?</p>
]]></description><link>https://community.m5stack.com/topic/5486/round-to-one-decimal-in-ui-flow</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:11:32 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5486.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Jul 2023 19:19:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to round to one decimal in UI flow on Sat, 15 Jul 2023 05:56:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/riddsprojects" aria-label="Profile: riddsprojects">@<bdi>riddsprojects</bdi></a> Thanks. Glad to have learned something, works well indeed</p>
]]></description><link>https://community.m5stack.com/post/21582</link><guid isPermaLink="true">https://community.m5stack.com/post/21582</guid><dc:creator><![CDATA[csierra67]]></dc:creator><pubDate>Sat, 15 Jul 2023 05:56:17 GMT</pubDate></item><item><title><![CDATA[Reply to round to one decimal in UI flow on Fri, 14 Jul 2023 18:20:09 GMT]]></title><description><![CDATA[<p dir="auto">Under Text you will find this option, at the very bottom: Reduce ... to x decimal places. It has been tucked away a bit, but works very well.</p>
]]></description><link>https://community.m5stack.com/post/21578</link><guid isPermaLink="true">https://community.m5stack.com/post/21578</guid><dc:creator><![CDATA[RIDDSprojects]]></dc:creator><pubDate>Fri, 14 Jul 2023 18:20:09 GMT</pubDate></item><item><title><![CDATA[Reply to round to one decimal in UI flow on Fri, 14 Jul 2023 06:24:54 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot !  Did not come to me as it is implemented directly in u pythonj but I remember having read about this workaround when I used to program in other languages.<br />
Took me a little bit of time to set this up in UI Flow but it works perfectly of course.</p>
]]></description><link>https://community.m5stack.com/post/21574</link><guid isPermaLink="true">https://community.m5stack.com/post/21574</guid><dc:creator><![CDATA[csierra67]]></dc:creator><pubDate>Fri, 14 Jul 2023 06:24:54 GMT</pubDate></item><item><title><![CDATA[Reply to round to one decimal in UI flow on Thu, 13 Jul 2023 21:26:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/csierra67" aria-label="Profile: csierra67">@<bdi>csierra67</bdi></a> could you multiply by 10, then round, then divide by 10?</p>
]]></description><link>https://community.m5stack.com/post/21569</link><guid isPermaLink="true">https://community.m5stack.com/post/21569</guid><dc:creator><![CDATA[mtylerjr]]></dc:creator><pubDate>Thu, 13 Jul 2023 21:26:42 GMT</pubDate></item></channel></rss>