Jump to content

Template talk:Rounddown

Add topic
From Meta, a Wikimedia project coordination wiki
Talk page for {{Rounddown}} and {{Roundtozero}}

Tests

[edit]

{{Roundtozero|-2/3}} = Template:Roundtozero

Now it's like REXX trunc, fine.

{{Roundtozero|-1/3}} = Template:Roundtozero

That wanted to return -0 instead of 0. template:Zero (edittalklinkshistory) can fix it, but apparently for an expression x it's also okay to use 0+(x).