Lompat ke isi

Templat:Evalint: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
REX (bicara | kontrib)
k +/noinclude
OrophinBot (bicara | kontrib)
k Robot: Removing from Kategori:Templat yang menggunakan ParserFunction
Baris 18: Baris 18:
-->
-->
<nowiki>{{subst:evalint|2*1234567890123456|subst=subst:}}</nowiki> gives the wikitext 2469135780246912
<nowiki>{{subst:evalint|2*1234567890123456|subst=subst:}}</nowiki> gives the wikitext 2469135780246912

[[Kategori:Templat yang menggunakan ParserFunction|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revisi per 8 Februari 2010 15.32


{{ {{{subst|}}}#ifexpr: 1000000000000 <= ({{{1}}}) and ({{{1}}}) < 1000000000000000000000000
|{{ {{{subst|}}}#expr: (({{{1}}}) - ({{{1}}}) mod 1000000000000)/1000000000000}}{{ {{{subst|}}}lz12|({{{1}}}) mod 1000000000000|subst={{{subst|}}}}}
|{{ {{{subst|}}}#expr: {{{1}}} }} }}

EVALuates INTegers exactly up to 1E16, in a form suitable for input. Numbers between 1E16 and 1E24 are rounded. Larger results are given in scientific notation. {{subst:evalint|2*1234567890123456|subst=subst:}} gives the wikitext 2469135780246912