Template:計算

From wiki
Revision as of 12:17, 23 April 2025 by Root (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:軟重定向

第一參數為要運算的運算式,第二參數為運算結果要四捨五入到小數第幾位,如{{計算|sqrt(i)|4}}→「{{safesubst:#if:4|Template:ExprAll|{{safesubst:{{safesubst:#if:4|void|複變運算}}|1=sqrt(i)|use math=no|should math=no|useOtherModule=no|number class=c|show math=no }} }}」。與Template:Tl稍有不同之處在於,此模板支援輸出round,而Template:Tl則否。

Template:Doc