Template talk:Evalint

From Wikipedia, the free encyclopedia

[edit] test

{{subst:evalint | 1000000000000000000000000 - 10000000000 | subst=subst:}} = 999999999999.99000000000000 - TAKASUGI Shinji (talk) 16:01, 12 March 2008 (UTC)

{{subst:evalint | 1000000000000000000000000 - 10000000000 | subst=subst:}} = 999999999999000000000000 - TAKASUGI Shinji (talk) 16:05, 12 March 2008 (UTC)

I have changed the template and it works better because the following expression in the previous version doesn't always give an integer.

{{ {{{subst|}}}#expr: (({{{1}}}) - ({{{1}}}) mod 1000000000000)/1000000000000}}

- TAKASUGI Shinji (talk) 16:10, 12 March 2008 (UTC)