<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/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://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AStripToNumbers"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:StripToNumbers&amp;action=history"/>
	<updated>2026-06-13T20:57:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:StripToNumbers&amp;diff=479620&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:StripToNumbers&amp;diff=479620&amp;oldid=prev"/>
		<updated>2021-07-16T07:28:23Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&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>Zoran</name></author>
	</entry>
</feed>