<?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[Modulo for Float]]></title><description><![CDATA[<p dir="auto">The modulo setting of the Calculator actor only appears to work with integers.</p>
<div>Be nice if it worked for floats too!</div>]]></description><link>https://community.troikatronix.com/topic/21/modulo-for-float</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 03:15:18 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/21.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 May 2012 01:04:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modulo for Float on Wed, 30 May 2012 04:59:29 GMT]]></title><description><![CDATA[<p dir="auto">This is a test to see if I can upload an isadora file... <a href="/uploads/files/FileUpload/8a/92a4a3-isadora-test-upload.izz">92a4a3-isadora-test-upload.izz</a></p>
]]></description><link>https://community.troikatronix.com/post/3181</link><guid isPermaLink="true">https://community.troikatronix.com/post/3181</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Wed, 30 May 2012 04:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Wed, 30 May 2012 04:23:55 GMT]]></title><description><![CDATA[<p dir="auto">Dear Gavin,</p>
<div>Thanks for the patch... I'll follow Michel's instructions to add the other file types.</div>
<div>Best WIshes,</div>
<div>Mark</div>]]></description><link>https://community.troikatronix.com/post/3179</link><guid isPermaLink="true">https://community.troikatronix.com/post/3179</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Wed, 30 May 2012 04:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Fri, 16 Jan 1970 11:45:53 GMT]]></title><description><![CDATA[<p dir="auto">Mark, integers, ah ok and multiplying by a large number, yes that's what I did (see patch).</p>
<div>In the spirit of this thread I am attaching the file again, for no reason other than to test the attachment feature!</div>
<div>Isadora forum won't let you upload .izz files! Love it!</div>
<p dir="auto"><a href="/uploads/files/FileUpload/30/665bd0-float-mod.izz.zip">665bd0-float-mod.izz.zip</a></p>
]]></description><link>https://community.troikatronix.com/post/3178</link><guid isPermaLink="true">https://community.troikatronix.com/post/3178</guid><dc:creator><![CDATA[gavspav]]></dc:creator><pubDate>Fri, 16 Jan 1970 11:45:53 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Fri, 16 Jan 1970 11:45:37 GMT]]></title><description><![CDATA[<p dir="auto">Hello Nick</p>
<p dir="auto">you have to .zip your file that have extensions other than the common .jpg .tiff .pdf etc.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@Mark</a>: To allow more extensions to be uploaded especially .izz, you will find in the folder where you have installed the forum the file conf--&gt;config.php. In config.php add the following line (all should be in one line) and add or delete the extensions you want to allow<br />
$Configuration['Garden']['Upload']['AllowedFileExtensions'] = array('txt','jpg','jpeg','gif','png','bmp','tiff','ico','zip','gz','tar.gz','tgz','psd','pdf','doc','xls','ppt','docx','xlsx','log','rar','7z','izz');</p>
<p dir="auto">place the line above after this one<br />
$Configuration['Garden']['Update']['Count'] = 1;</p>
<p dir="auto">Best,<br />
Michel</p>
]]></description><link>https://community.troikatronix.com/post/3177</link><guid isPermaLink="true">https://community.troikatronix.com/post/3177</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Fri, 16 Jan 1970 11:45:37 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Tue, 29 May 2012 23:59:11 GMT]]></title><description><![CDATA[<p dir="auto">I think you will have to zip izz files</p>
]]></description><link>https://community.troikatronix.com/post/3176</link><guid isPermaLink="true">https://community.troikatronix.com/post/3176</guid><dc:creator><![CDATA[Skulpture]]></dc:creator><pubDate>Tue, 29 May 2012 23:59:11 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Tue, 29 May 2012 21:48:31 GMT]]></title><description><![CDATA[<p dir="auto">I can see it now - but it fails as uploading - file type is not allowed - for a file of type .izz</p>
]]></description><link>https://community.troikatronix.com/post/3174</link><guid isPermaLink="true">https://community.troikatronix.com/post/3174</guid><dc:creator><![CDATA[nick]]></dc:creator><pubDate>Tue, 29 May 2012 21:48:31 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Fri, 16 Jan 1970 11:44:40 GMT]]></title><description><![CDATA[<p dir="auto">I believe I've enabled attachments for members. Please give it a try and let me know.</p>
<div>But on to the topic of modulo arithmetic, from the wiki on the subject:</div>
<div>"In mathematics, modular arithmetic (sometimes called clock arithmetic) is a system of arithmetic for **_integers_**"</div>
<div>In other words, the notion of modulo is not defined for floating point (real) numbers.</div>
<div>However, one solution is to multiply your floating point number by some value, e.g., 1000\. The do the modulo, and divide the result by 1000\. Does that give you what you want?  
<div>Best Wishes,</div>
<div>Mark</div>
</div>]]></description><link>https://community.troikatronix.com/post/3172</link><guid isPermaLink="true">https://community.troikatronix.com/post/3172</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Fri, 16 Jan 1970 11:44:40 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Mon, 28 May 2012 12:38:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello Nick</p>
<p dir="auto">I can see that the "Attach a file" function is dissabled for Members. Don't know why Mark didn't activate it yet. Hopefully he does it soon.</p>
<p dir="auto">Best,<br />
Michel</p>
]]></description><link>https://community.troikatronix.com/post/3161</link><guid isPermaLink="true">https://community.troikatronix.com/post/3161</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Mon, 28 May 2012 12:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Mon, 28 May 2012 11:20:00 GMT]]></title><description><![CDATA[<p dir="auto">I don't think that works but I could be misreading the patch.</p>
<div style="font-family:Arial, Verdana;font-size:10pt;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal">Here are my solutions:</div>
<div>http://dl.dropbox.com/u/3202702/float%20mod.izz</div>]]></description><link>https://community.troikatronix.com/post/3159</link><guid isPermaLink="true">https://community.troikatronix.com/post/3159</guid><dc:creator><![CDATA[gavspav]]></dc:creator><pubDate>Mon, 28 May 2012 11:20:00 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Mon, 28 May 2012 10:46:29 GMT]]></title><description><![CDATA[<p dir="auto">emailed you file as i cant see how to attach file</p>
]]></description><link>https://community.troikatronix.com/post/3157</link><guid isPermaLink="true">https://community.troikatronix.com/post/3157</guid><dc:creator><![CDATA[nick]]></dc:creator><pubDate>Mon, 28 May 2012 10:46:29 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Mon, 28 May 2012 10:40:03 GMT]]></title><description><![CDATA[<p dir="auto">does this do what you want - is it possible to add attatchments?</p>
]]></description><link>https://community.troikatronix.com/post/3156</link><guid isPermaLink="true">https://community.troikatronix.com/post/3156</guid><dc:creator><![CDATA[nick]]></dc:creator><pubDate>Mon, 28 May 2012 10:40:03 GMT</pubDate></item><item><title><![CDATA[Reply to Modulo for Float on Mon, 28 May 2012 10:35:47 GMT]]></title><description><![CDATA[<p dir="auto">it does if you send the value through a float to integer first ;)</p>
]]></description><link>https://community.troikatronix.com/post/3155</link><guid isPermaLink="true">https://community.troikatronix.com/post/3155</guid><dc:creator><![CDATA[nick]]></dc:creator><pubDate>Mon, 28 May 2012 10:35:47 GMT</pubDate></item></channel></rss>