<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FRexxS%2FGCI06</id>
	<title>Module:Sandbox/RexxS/GCI06 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FRexxS%2FGCI06"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/RexxS/GCI06&amp;action=history"/>
	<updated>2026-05-24T02:32:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/RexxS/GCI06&amp;diff=146071&amp;oldid=prev</id>
		<title>imported&gt;RexxS: fix as number</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/RexxS/GCI06&amp;diff=146071&amp;oldid=prev"/>
		<updated>2017-12-16T16:01:35Z</updated>

		<summary type="html">&lt;p&gt;fix as number&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module to demonstrate a numerical comparison for Google-Code-in-2017&lt;br /&gt;
-- Function temperature returns conversion and text for a given input in Celsius&lt;br /&gt;
&lt;br /&gt;
p = {}&lt;br /&gt;
&lt;br /&gt;
p.temperature = function(frame)&lt;br /&gt;
	cel = tonumber(frame.args.celsius) or 0&lt;br /&gt;
	fah = (cel * 9 / 5) + 32&lt;br /&gt;
	msg = cel .. &amp;quot; degrees Celsius is &amp;quot; .. fah .. &amp;quot; degrees Fahrenheit.&amp;lt;br&amp;gt;&amp;quot;&lt;br /&gt;
	if cel &amp;gt; 9 then&lt;br /&gt;
		msg = msg .. &amp;quot;It is warm.&amp;lt;br&amp;gt;&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		msg = msg .. &amp;quot;It is cold.&amp;lt;br&amp;gt;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	return msg&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;RexxS</name></author>
	</entry>
</feed>