Template talk:Rounddown

Talk page for {{Rounddown}} and {{Roundtozero}}

Tests edit

{{Roundtozero|-2/3}} = 0

Now it's like REXX trunc, fine.

{{Roundtozero|-1/3}} = 0

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).

Return to "Rounddown" page.