个人工具

模板:Expr

出自Meshal Lite

跳转到: 导航, 搜索
(已保护“模板:Expr” ([edit=sysop] (无期) [move=sysop] (无期)))
第1行: 第1行:
<includeonly>{{#ifeq: {{{2|}}}|y|{{#ifeq: {{#replaceset: {{{1|}}}|/([^\d\+\-\*\/+-*/×÷xX\(\)])/i=|÷=/|x=*|X=*|+=+|-=-|*=*|/=/|×=*}}||0|{{#expr: {{#replaceset: {{{1|}}}|/([^\d\+\-\*\/+-*/×÷xX\(\)])/i=|÷=/|x=*|X=*|+=+|-=-|*=*|/=/|×=*}}}}}}|{{#replaceset: {{{1|}}}|/([^\d\+\-\*\/+-*/×÷xX\(\)])/i=|÷=/|x=*|X=*|+=+|-=-|*=*|/=/|×=*}}}}</includeonly><noinclude>[[category:模板]]
+
<includeonly>{{#ifeq: {{{2|}}}|y|{{#ifeq: {{#replaceset: {{{1|}}}|/([^\d\+\-\*\/+-*/×÷xX\(\)])/i=|÷=/|x=*|X=*|+=+|-=-|*=*|/=/|×=*}}||0|{{#expr: floor({{#replaceset: {{{1|}}}|/([^\d\+\-\*\/+-*/×÷xX\(\)])/i=|÷=/|x=*|X=*|+=+|-=-|*=*|/=/|×=*}})}}}}|{{#replaceset: {{{1|}}}|/([^\d\+\-\*\/+-*/×÷xX\(\)])/i=|÷=/|x=*|X=*|+=+|-=-|*=*|/=/|×=*}}}}</includeonly><noinclude>[[category:模板]]
  
 
== 说明==
 
== 说明==

在2015年5月16日 (六) 16:33所做的修订版本