Template talk:Rounddown

From Meta, a Wikimedia project coordination wiki

(Redirected from Template talk:Roundtozero)
Jump to: navigation, search
Talk page for {{Rounddown}} and {{Roundtozero}}

[edit] Tests

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

Personal tools