<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.boobpedia.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADec_to_frac%2Fdoc</id>
	<title>Template:Dec to frac/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.boobpedia.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADec_to_frac%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.boobpedia.com/wiki/index.php?title=Template:Dec_to_frac/doc&amp;action=history"/>
	<updated>2026-06-22T22:56:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://www.boobpedia.com/wiki/index.php?title=Template:Dec_to_frac/doc&amp;diff=55439&amp;oldid=prev</id>
		<title>Prophecy at 01:52, 7 June 2008</title>
		<link rel="alternate" type="text/html" href="https://www.boobpedia.com/wiki/index.php?title=Template:Dec_to_frac/doc&amp;diff=55439&amp;oldid=prev"/>
		<updated>2008-06-07T01:52:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:52, 7 June 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Mathematical function templates|{{PAGENAME}}]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Conversion templates|{{PAGENAME}}]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Conversion templates|{{PAGENAME}}]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prophecy</name></author>
	</entry>
	<entry>
		<id>https://www.boobpedia.com/wiki/index.php?title=Template:Dec_to_frac/doc&amp;diff=55438&amp;oldid=prev</id>
		<title>Prophecy: New page: {{documentation subpage}} This template converts decimal fractions to vulgar fractions.  It takes two parameters: *fraction to be converted; *resulting vulgar fraction&#039;s denominator  If th...</title>
		<link rel="alternate" type="text/html" href="https://www.boobpedia.com/wiki/index.php?title=Template:Dec_to_frac/doc&amp;diff=55438&amp;oldid=prev"/>
		<updated>2008-06-07T01:50:57Z</updated>

		<summary type="html">&lt;p&gt;New page: {{documentation subpage}} This template converts decimal fractions to vulgar fractions.  It takes two parameters: *fraction to be converted; *resulting vulgar fraction&amp;#039;s denominator  If th...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
This template converts decimal fractions to vulgar fractions.  It takes two parameters:&lt;br /&gt;
*fraction to be converted;&lt;br /&gt;
*resulting vulgar fraction&amp;#039;s denominator&lt;br /&gt;
&lt;br /&gt;
If the decimal fraction includes an integer part, it is retained in the output.  If the resulting vulgar fraction can be resolved in lower terms than specified denominator, it is resolved, but due to algorithm limitation fractions with relatively large nominators/denominators may be left unresolved.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;{{dec to frac|3.6742|16}}&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;rarr; {{dec to frac|3.6742|16}}&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;{{dec to frac|0.375|16}}&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;rarr; {{dec to frac|0.375|16}}&lt;br /&gt;
&lt;br /&gt;
Sometimes it is impossible to convert a decimal to a vulgar fraction with requested denominator, in which cases the output is simply an input rounded up:&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;{{dec to frac|3.99|8}}&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;rarr; {{dec to frac|3.99|8}}&lt;br /&gt;
...or down:&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;{{dec to frac|3.1|2}}&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;rarr; {{dec to frac|3.1|2}}&lt;br /&gt;
&lt;br /&gt;
When that is unacceptable, increase the denominator:&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;{{dec to frac|3.99|100}}&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;rarr; {{dec to frac|3.99|100}}&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;{{dec to frac|3.1|10}}&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;rarr; {{dec to frac|3.1|10}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Mathematical function templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Conversion templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prophecy</name></author>
	</entry>
</feed>