Difference between revisions of "User:Quonk"
From Kerbal Space Program Wiki
(Created page with "Number formatting experiments:<br> {{Infobox/Line|{{Infobox/Part/Dict|Mass}}|{{Formatnum|{{#expr: {{{mass}}}+({{{lf|0}}})*0.005+({{#if: {{{ox|}}}|{{{ox}}}|{{#if: {{{lf|}}}|{{...") |
|||
Line 2: | Line 2: | ||
{{Infobox/Line|{{Infobox/Part/Dict|Mass}}|{{Formatnum|{{#expr: {{{mass}}}+({{{lf|0}}})*0.005+({{#if: {{{ox|}}}|{{{ox}}}|{{#if: {{{lf|}}}|{{{lf}}}*11/9|0}}}})*0.005+({{{mp|0}}})*0.004+({{{sf|0}}})*0.0075+({{{xg|0}}})*0.0001+({{{ia|0}}})*0.005+({{{or|0}}})*0.01+({{{ab|0}}})*0.001}}|2}} {{Dict|t}} {{{mass note|}}}{{#ifeq: {{lc:{{{physics insignificant}}}}}|y|{{#tag:ref|{{Infobox/Part/Dict|Massless}}|name="phyinsig"|group="{{{nref|N}}}"}}}}|{{#if: {{{lf|}}}{{{ox|}}}{{{mp|}}}{{{sf|}}}{{{xg|}}}{{{ia|}}}{{{or|}}}{{{ab|}}}|{{Formatnum|{{{mass}}}|2}} {{Dict|t}}}} | {{Infobox/Line|{{Infobox/Part/Dict|Mass}}|{{Formatnum|{{#expr: {{{mass}}}+({{{lf|0}}})*0.005+({{#if: {{{ox|}}}|{{{ox}}}|{{#if: {{{lf|}}}|{{{lf}}}*11/9|0}}}})*0.005+({{{mp|0}}})*0.004+({{{sf|0}}})*0.0075+({{{xg|0}}})*0.0001+({{{ia|0}}})*0.005+({{{or|0}}})*0.01+({{{ab|0}}})*0.001}}|2}} {{Dict|t}} {{{mass note|}}}{{#ifeq: {{lc:{{{physics insignificant}}}}}|y|{{#tag:ref|{{Infobox/Part/Dict|Massless}}|name="phyinsig"|group="{{{nref|N}}}"}}}}|{{#if: {{{lf|}}}{{{ox|}}}{{{mp|}}}{{{sf|}}}{{{xg|}}}{{{ia|}}}{{{or|}}}{{{ab|}}}|{{Formatnum|{{{mass}}}|2}} {{Dict|t}}}} | ||
+ | |||
+ | <br> | ||
+ | |||
+ | {{Formatnum|{{{0.1234}}}|0}} {{Dict|t}} <br> | ||
+ | {{Formatnum|{{{0.1234}}}|1}} {{Dict|t}} <br> | ||
+ | {{Formatnum|{{{0.1234}}}|2}} {{Dict|t}} <br> | ||
+ | {{Formatnum|{{{0.1234}}}|3}} {{Dict|t}} <br> | ||
+ | {{Formatnum|{{{0.1234}}}|4}} {{Dict|t}} <br> | ||
+ | {{Formatnum|{{{0.1234}}}|5}} {{Dict|t}} <br> |
Revision as of 10:50, 7 October 2022
Number formatting experiments:
{{Infobox/Line|Mass|0.00 t |
0 t
0.0 t
0.00 t
0.000 t
0.0000 t
0.00000 t