Difference between revisions of "Template:Sigfigs"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#ifeq: {{{1}}}|N/A|N/A|{{formatnum: {{#expr: <!--
+
{{#ifeq: {{{1}}}|N/A|N/A|{{formatnum|{{#expr: <!--
 
--> floor( 0.5 + <!--
 
--> floor( 0.5 + <!--
 
-->    {{{1|12345678901234567890}}} <!--
 
-->    {{{1|12345678901234567890}}} <!--
Line 13: Line 13:
 
-->    ) <!--
 
-->    ) <!--
 
--> ) <!--
 
--> ) <!--
--> }}}}}}<noinclude>
+
--> }}}}}}<noinclude>{{Box|notice.svg|'''This template is currently not properly working.''' However [[User:XZise]] is trying to fix this template.|#aaaaff|}}
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 12:34, 6 April 2013

12 346 000 000 000 000 000

This template is currently not properly working. However User:XZise is trying to fix this template.
Usage Produces
{{sigfigs|12345678901234567890|5}}
1.2346×1019
{{sigfigs|0.123456789012345678|5}}
0.12346