<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.wrestlewiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AVal%2Fdelimitnum</id>
	<title>Template:Val/delimitnum - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.wrestlewiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AVal%2Fdelimitnum"/>
	<link rel="alternate" type="text/html" href="https://www.wrestlewiki.com/w/index.php?title=Template:Val/delimitnum&amp;action=history"/>
	<updated>2026-07-20T20:38:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://www.wrestlewiki.com/w/index.php?title=Template:Val/delimitnum&amp;diff=1084&amp;oldid=prev</id>
		<title>Zweig: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://www.wrestlewiki.com/w/index.php?title=Template:Val/delimitnum&amp;diff=1084&amp;oldid=prev"/>
		<updated>2012-01-11T06:01:32Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#ifexpr:({{{1|0}}}1)=({{{1|0}}})|&amp;lt;!-- Test loss of precision by appending a fixed digit &amp;quot;1&amp;quot;&lt;br /&gt;
  --&amp;gt;{{FormattingError|Too Many Digits|nocategory={{{nocategory|}}}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|&amp;lt;!-- No loss of precision, can display this number&lt;br /&gt;
  --&amp;gt;{{#ifexpr:{{{1|0}}}&amp;lt;0|&amp;amp;minus;}}&amp;lt;!-- Output the mathematical minus sign (not the minus-hyphen) if negative&lt;br /&gt;
  --&amp;gt;{{#ifexpr:abs({{{1|0}}}1)&amp;gt;10*abs({{{1|0}}})|&amp;lt;!-- Number is an integer (no dot): appending a non-zero digit multiplies it by more than 10&lt;br /&gt;
    --&amp;gt;{{formatnum:{{#expr:abs({{{1|0}}})}}}}&amp;lt;!-- Format the integer using locale's separator for grouping digits&lt;br /&gt;
  --&amp;gt;|&amp;lt;!-- Number is not an integer (at least contains a dot)&lt;br /&gt;
    --&amp;gt;{{formatnum:{{#expr:trunc(abs({{{1|0}}}))}}.}}&amp;lt;!-- Format the integer part using locale's separator for grouping digits, followed by the locale's separator before fractional decimals&lt;br /&gt;
    --&amp;gt;{{val/delimitnum/fraction&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|{{#expr:abs({{{1|0}}}1)-trunc(abs({{{1|0}}}1))}}&amp;lt;!-- The fractional part (appended with an extra digit 1 to avoid roundoff error on last displayed digit)&lt;br /&gt;
      --&amp;gt;|{{#expr:(-ln(abs({{{1|0}}}1)-abs({{{1|0}}}))/ln10round 0)-1}}&amp;lt;!-- The number of decimals to display (the difference of absolute values is the value of the appended digit 1, its log10 gives its position)&lt;br /&gt;
      --&amp;gt;|nocategory={{{nocategory|}}}&amp;lt;!-- category if formatting error (too many digits)&lt;br /&gt;
    --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{documentation}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zweig</name></author>
		
	</entry>
</feed>