<?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[[SOLVED] Decimal to binary]]></title><description><![CDATA[<p>Dear all,<br /></p>
<p>It's my first-time use javascript actor, I try to write a decimal to binary actor but I think it over my skill. (I haven't learn java yet...)
</p>
<p>Is there anyone can help?</p>
<p>I would like to input number range 0-360 (decimal), then output binary 000000000~000101101(binary).</p>
<p>Thank you!!! </p>
<p>HY<br /></p>]]></description><link>https://community.troikatronix.com/topic/5387/solved-decimal-to-binary</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 08:56:33 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/5387.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Aug 2018 16:33:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Fri, 21 Sep 2018 11:25:18 GMT]]></title><description><![CDATA[<p>I still had a few questions to <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@Mark</a> because you did get a correct output in certain cases. He gave me the following answer:</p><blockquote>When the output is text, the conversion is done inside Javascript, where the floating point number stays in the 64 bit space. That produces a correct string result. <br /></blockquote><p>The JS actor outputs as integer by default, connect it to a text actor to mutate the output to text. </p><p>Best Michel</p>]]></description><link>https://community.troikatronix.com/post/32185</link><guid isPermaLink="true">https://community.troikatronix.com/post/32185</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Fri, 21 Sep 2018 11:25:18 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Thu, 20 Sep 2018 15:41:25 GMT]]></title><description><![CDATA[<p>Dear All + <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/7">@Michel</a><br /></p><p>Michel discovered an interesting bug in his actor that converts to binary, and I wanted to leave a record of it here.</p><p>He tried to convert the number 290 to binary, which should be 100100010. But the output shows 100100018.</p><p>Inside the actor, this is being processed as a 32 bit floating point value. But 100100010 cannot be correctly represented by a 32 bit float.</p><p><a href="https://www.h-schmidt.net/FloatConverter/IEEE754.html" target="_blank">This site shows you why</a>.</p><p><img src="/assets/uploads/files/1537457500577-screen-shot-2018-09-20-at-5.30.42-pm.png" /></p><p>You can see that closest value to 100100010 is 10010008. Thus the error.</p><p>In Isadora 3 we use 64 bit floats, and so you won't see this problem until the number gets much larger once you're using that version. But, suffice to say, there is a limit even with 64 bit floating point numbers.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/32169</link><guid isPermaLink="true">https://community.troikatronix.com/post/32169</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Thu, 20 Sep 2018 15:41:25 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Fri, 31 Aug 2018 01:49:38 GMT]]></title><description><![CDATA[<p>Sure! I will do that!  : D</p><p>Cheers,</p><p>HY</p>]]></description><link>https://community.troikatronix.com/post/31755</link><guid isPermaLink="true">https://community.troikatronix.com/post/31755</guid><dc:creator><![CDATA[huangyi]]></dc:creator><pubDate>Fri, 31 Aug 2018 01:49:38 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Tue, 28 Aug 2018 00:57:15 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1175">@huangyi</a></p>
<p>That sounds awesome! It'd be great to see it in action too! We'd love it if you could tag us when and if you share any photos or videos on social media so that we can share them with our followers too. We're always excited to see what our users around the world create with Isadora and love to celebrate our community! #troikatronix</p>
<p>Facebook, Twitter: <a class="plugin-mentions-group plugin-mentions-a" href="https://community.troikatronix.com/groups/troikatronix">@troikatronix</a><br />Instagram: @troikatronix_isadora </p>]]></description><link>https://community.troikatronix.com/post/31703</link><guid isPermaLink="true">https://community.troikatronix.com/post/31703</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Tue, 28 Aug 2018 00:57:15 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 27 Aug 2018 23:37:01 GMT]]></title><description><![CDATA[<p>Thank you, Michel and m_theater!!!<br /><br /></p><p>It works perfectly!<br />I hope I understand German; the video described so beautifully.</p>
<p>Will share with you that I use Isadora to control a turntable! <br />The actor you wrote which is for the position the 360 degrees of the turntable. Without this actor, I need to type in the binary numbers manually. This actor improved the workflow very much!</p>
<p>I used to ask the turntable engineer to includes this code in their system, but they didn't. Now I luckily improved my coding skill.</p>
<p>Thank you again! </p>
<p>HY</p>]]></description><link>https://community.troikatronix.com/post/31700</link><guid isPermaLink="true">https://community.troikatronix.com/post/31700</guid><dc:creator><![CDATA[huangyi]]></dc:creator><pubDate>Mon, 27 Aug 2018 23:37:01 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 27 Aug 2018 16:29:40 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1175">@huangyi</a> </p>
<p>Just because we are talking about binary here. </p>
<p>I found a video on youtube explaining binary, its in german but I guess even just the pictures explain it without understanding the language. Its the best I have seen.</p><p>if you don't understand German start watching from 1min 12seconds.</p>
<iframe width="500" height="281" src="https://www.youtube.com/embed/9l-l_dD6qPQ"></iframe>
<p></p>]]></description><link>https://community.troikatronix.com/post/31695</link><guid isPermaLink="true">https://community.troikatronix.com/post/31695</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Mon, 27 Aug 2018 16:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 27 Aug 2018 12:20:36 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/378">@Maximortal</a> 512 is using the 10th bit so it wouldn't show up in the actors as they are hardcoded to 9 bits as requested by hunagyi <br /></p><p>best clemens<br /></p><img src="/assets/uploads/files/1535372412115-screen-shot-2018-08-27-at-16.17.55.png" />]]></description><link>https://community.troikatronix.com/post/31691</link><guid isPermaLink="true">https://community.troikatronix.com/post/31691</guid><dc:creator><![CDATA[m_theater]]></dc:creator><pubDate>Mon, 27 Aug 2018 12:20:36 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 27 Aug 2018 12:19:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/378">@maximortal</a></p><p>Well the problem with the modified patch is that its limited to output 9 numbers only, the first number gets chopped off. You have to go into the JavaScript actor and change (-9) to (-10).</p><p>Best Michel</p>]]></description><link>https://community.troikatronix.com/post/31690</link><guid isPermaLink="true">https://community.troikatronix.com/post/31690</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Mon, 27 Aug 2018 12:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 27 Aug 2018 10:43:44 GMT]]></title><description><![CDATA[<p>probably I miss something but is I enter 512 (increasing the number of bits ) the javascripts and the text actor return all 0s</p><p>what am I missing?</p>]]></description><link>https://community.troikatronix.com/post/31688</link><guid isPermaLink="true">https://community.troikatronix.com/post/31688</guid><dc:creator><![CDATA[Maximortal]]></dc:creator><pubDate>Mon, 27 Aug 2018 10:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Sat, 25 Aug 2018 20:39:22 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1175">@huangyi</a> have a look at this patch you will find michel example modified to output a string </p><p>and some other actors that will already decode the bits and output them as 0/1 or on/off</p><p></p><p>best clemens</p><p><a href="/assets/uploads/files/1535229547811-dec_binary_ck.izz">dec_binary_ck.izz</a></p>]]></description><link>https://community.troikatronix.com/post/31673</link><guid isPermaLink="true">https://community.troikatronix.com/post/31673</guid><dc:creator><![CDATA[m_theater]]></dc:creator><pubDate>Sat, 25 Aug 2018 20:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Sat, 25 Aug 2018 16:32:52 GMT]]></title><description><![CDATA[<p>Thank you so much Michel! It works!<br /></p>
<p><br />Is it possible to program it to keep export 9 numbers? say 0 = 000000000, 1 = 100000000, 359 = 111001101</p>
<p>Please correct me if I am wrong!<br /></p><p>And is there any way that to transfer the number to text? so I can chop the number that I want to send to other actors? It appear differently with number to text actor.</p>
<img src="/assets/uploads/files/1535214766657-screen-shot-2018-08-25-at-6.28.06-pm-resized.png" />
<p>Thank you again!</p>
<p>Wishes,</p>
<p>HY</p>]]></description><link>https://community.troikatronix.com/post/31669</link><guid isPermaLink="true">https://community.troikatronix.com/post/31669</guid><dc:creator><![CDATA[huangyi]]></dc:creator><pubDate>Sat, 25 Aug 2018 16:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 20 Aug 2018 20:23:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1175">@huangyi</a> </p><p>Sorry my fault. I replaced the file above, please download again.</p><p>Best Michel</p>]]></description><link>https://community.troikatronix.com/post/31632</link><guid isPermaLink="true">https://community.troikatronix.com/post/31632</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Mon, 20 Aug 2018 20:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 20 Aug 2018 19:31:52 GMT]]></title><description><![CDATA[<p>Thank you so much Michel!!!</p><p>But my version is 2.61, how can I get newer version? ~@@~</p><p>HY</p><img src="/assets/uploads/files/1534793397399-screen-shot-2018-08-20-at-9.29.03-pm.png" />]]></description><link>https://community.troikatronix.com/post/31631</link><guid isPermaLink="true">https://community.troikatronix.com/post/31631</guid><dc:creator><![CDATA[huangyi]]></dc:creator><pubDate>Mon, 20 Aug 2018 19:31:52 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Decimal to binary on Mon, 20 Aug 2018 20:22:47 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1175">@huangyi</a></p>
<p>Here you go. <a href="/assets/uploads/files/1534796564839-decimaltobinary.izz">decimalToBinary.izz</a></p>
<p>Best Michel</p>]]></description><link>https://community.troikatronix.com/post/31627</link><guid isPermaLink="true">https://community.troikatronix.com/post/31627</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Mon, 20 Aug 2018 20:22:47 GMT</pubDate></item></channel></rss>