<?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[Formula in Number (basic - number element)]]></title><description><![CDATA[<p dir="auto">Hello.<br />
I want to display value of some state (as example 'javascript.0.test.power') and want to display it divide to 1000 with 2 didgits after comma. Can i do this with vis widget, or i need to do this in script outer of vis?<br />
insest this in Object ID field not work for me:(</p>
<pre><code>{javascript.0.power.energy_this_mounth;/(1000);round(2)}
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/74298/formula-in-number-basic-number-element</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 08:10:36 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/74298.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Apr 2024 14:02:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Formula in Number (basic - number element) on Mon, 22 Apr 2024 14:25:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kselltrum" aria-label="Profile: kselltrum">@<bdi>kselltrum</bdi></a> sagte in <a href="/post/1153329">Formula in Number (basic - number element)</a>:</p>
<blockquote>
<p dir="auto">value of some state (as example 'javascript.0.test.power') and want to display it divide to 1000 with 2</p>
</blockquote>
<p dir="auto">if you use the "number" widget you can define the digits after comma and you can also define a multiplier (e.g. 0.001 to divde by 1000)</p>
]]></description><link>https://forum.iobroker.net/post/1153339</link><guid isPermaLink="true">https://forum.iobroker.net/post/1153339</guid><dc:creator><![CDATA[amg_666]]></dc:creator><pubDate>Mon, 22 Apr 2024 14:25:45 GMT</pubDate></item></channel></rss>