Misplaced Pages

Template:Round/testcases

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Round

This is an old revision of this page, as edited by MBisanz (talk | contribs) at 05:39, 18 July 2008 (Protected Template:Rnd/a: target ). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 05:39, 18 July 2008 by MBisanz (talk | contribs) (Protected Template:Rnd/a: target )(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This is {{rnd}}'s second step taking input from the main page with the following code.

{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}}}}
{{rnd/c{{rnd/b|abs{{{1}}}|{{{1}}}|{{{2}}}}}|{{{1}}}|{{{2}}}}}

It calls {{rnd/b}} which crunches out a code to determine which of the {{rnd/c*}} subtemplates to go to next.

{{#expr:2*(2+(2-({{{1}}}<10^9)*(2-({{{1}}}/10^5round0={{{1}}}/10^5)))*({{{1}}}>=10^5)-({{{1}}}<0.0001))*(({{{2}}}>0)-({{{2}}}<0))+({{{3}}}>0)}}
Category: