Template:Floor: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Prolog
m {{pp-template}}
meta>Remember the dot
changed to use the built-in ParserFunction for floor, which should be much faster
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#expr: ( ({{{1}}}) - ({{{1}}}!={{{1}}}round 0) * 0.5 round 0 ) + 0 }}</includeonly><noinclude>{{pp-template}}{{Documentation, template}}
<includeonly>{{{{{subst|}}}#expr:floor({{{1}}})}}</includeonly><noinclude>{{pp-template}}{{Documentation, template}}
</noinclude>
</noinclude>

Revision as of 20:27, 10 May 2008