<?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%3AStripToNumbers</id>
	<title>Module:StripToNumbers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AStripToNumbers"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:StripToNumbers&amp;action=history"/>
	<updated>2026-04-17T18:28:32Z</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:StripToNumbers&amp;diff=147063&amp;oldid=prev</id>
		<title>imported&gt;MusikBot II: Protected &quot;Module:StripToNumbers&quot;: High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:StripToNumbers&amp;diff=147063&amp;oldid=prev"/>
		<updated>2019-09-28T17:59:52Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/research/Module:StripToNumbers&quot; title=&quot;Module:StripToNumbers&quot;&gt;Module:StripToNumbers&lt;/a&gt;&amp;quot;: &lt;a href=&quot;https://en.wikipedia.org/wiki/High-risk_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:High-risk templates&quot;&gt;High-risk template or module&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User:MusikBot_II/TemplateProtector&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:MusikBot II/TemplateProtector (page does not exist)&quot;&gt;more info&lt;/a&gt;) ([Edit=Require autoconfirmed or confirmed access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local theString = mw.text.unstrip(frame.args[1])&lt;br /&gt;
	local onlyNumber&lt;br /&gt;
	onlyNumber = (string.match(theString, &amp;quot;%-?[%d%.]+&amp;quot;))&lt;br /&gt;
	checkedNumber = tonumber(onlyNumber)&lt;br /&gt;
	if checkedNumber == nil then&lt;br /&gt;
		error(&amp;quot; Input did not contain valid numeric data&amp;quot;)&lt;br /&gt;
	else&lt;br /&gt;
		return checkedNumber&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.halve(frame)&lt;br /&gt;
	local checkedNumber = (p.main(frame))&lt;br /&gt;
	local halvedNumber&lt;br /&gt;
	halvedNumber = (checkedNumber / 2)&lt;br /&gt;
	return halvedNumber&lt;br /&gt;
end&lt;br /&gt;
function p.mainnull(frame)&lt;br /&gt;
	local theString = mw.text.unstrip(frame.args[1])&lt;br /&gt;
	local onlyNumber&lt;br /&gt;
	onlyNumber = (string.match(theString, &amp;quot;%-?[%d%.]+&amp;quot;))&lt;br /&gt;
	checkedNumber = tonumber(onlyNumber)&lt;br /&gt;
	if checkedNumber == nil then&lt;br /&gt;
		return nil&lt;br /&gt;
	else&lt;br /&gt;
		return checkedNumber&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;MusikBot II</name></author>
	</entry>
</feed>