Difference between revisions of "Template:Deploy Table Parachutes/Cell"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!round in the correct direction;)
m (!work also for negative values;)
Line 1: Line 1:
{{!}} {{Formatnum|{{#expr: -ln({{{1}}}/{{BodyData/Pressure|{{{2}}}}})*{{BodyData/ScaleHeight|{{{2}}}}} round -2 }}}}
+
| {{#ifexpr: {{BodyData/Pressure|{{{2}}}}} < {{{1}}}|{{Formatnum|{{#expr: -ln({{{1}}}/{{BodyData/Pressure|{{{2}}}}})*{{BodyData/ScaleHeight|{{{2}}}}} round -2 }}}}|Below surface}}

Revision as of 19:34, 8 May 2013

| Expression error: Unrecognized punctuation character "[".