CINXE.COM

Help:计算 - 维基百科,自由的百科全书

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="zh" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:计算 - 维基百科,自由的百科全书</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )zhwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh", "wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"ccb37f6d-df87-4a24-b6a3-6f4a73fffc87","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:计算","wgTitle":"计算","wgCurRevisionId":77357973,"wgRevisionId":77357973,"wgArticleId":280150,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["帮助文档","維基百科文字幫助文檔"],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:计算","wgRelevantArticleId":280150,"wgUserVariant":"zh","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode" :"zh","pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q11450832","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"], "GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.large-font":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.tablesorter.styles":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","site", "mediawiki.page.ready","jquery.tablesorter","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.edit0","ext.gadget.WikiMiniAtlas","ext.gadget.UnihanTooltips","ext.gadget.Difflink","ext.gadget.pseudonamespace-UI","ext.gadget.SpecialWikitext","ext.gadget.switcher","ext.gadget.VariantAlly","ext.gadget.AdvancedSiteNotices","ext.gadget.hideConversionTab","ext.gadget.internalLinkHelper-altcolor","ext.gadget.noteTA","ext.gadget.NavFrame","ext.gadget.collapsibleTables","ext.gadget.scrollUpButton","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","wikibase.client.vector-2022","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=ext.cite.styles%7Cext.discussionTools.init.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cjquery.tablesorter.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=zh&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=ext.gadget.large-font&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Help:计算 - 维基百科,自由的百科全书"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//zh.m.wikipedia.org/wiki/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" type="application/x-wiki" title="编辑本页" href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (zh)"> <link rel="EditURI" type="application/rsd+xml" href="//zh.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://zh.wikipedia.org/wiki/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/wiki/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hans" href="https://zh.wikipedia.org/zh-hans/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://zh.wikipedia.org/zh-cn/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://zh.wikipedia.org/zh-my/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://zh.wikipedia.org/zh-sg/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hant" href="https://zh.wikipedia.org/zh-hant/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://zh.wikipedia.org/zh-hk/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://zh.wikipedia.org/zh-mo/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://zh.wikipedia.org/zh-tw/Help:%E8%AE%A1%E7%AE%97"> <link rel="alternate" hreflang="x-default" href="https://zh.wikipedia.org/wiki/Help:%E8%AE%A1%E7%AE%97"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh"> <link rel="alternate" type="application/atom+xml" title="Wikipedia的Atom feed" href="/w/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Help_计算 rootpage-Help_计算 skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">跳转到内容</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="主菜单" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">主菜单</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">主菜单</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">隐藏</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> 导航 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" title="访问首页[z]" accesskey="z"><span>首页</span></a></li><li id="n-indexpage" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%88%86%E7%B1%BB%E7%B4%A2%E5%BC%95" title="以分类索引搜寻中文维基百科"><span>分类索引</span></a></li><li id="n-Featured_content" class="mw-list-item"><a href="/wiki/Portal:%E7%89%B9%E8%89%B2%E5%85%A7%E5%AE%B9" title="查看中文维基百科的特色内容"><span>特色内容</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:%E6%96%B0%E8%81%9E%E5%8B%95%E6%85%8B" title="提供当前新闻事件的背景资料"><span>新闻动态</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="列出维基百科中的最近修改[r]" accesskey="r"><span>最近更改</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="随机载入一个页面[x]" accesskey="x"><span>随机条目</span></a></li> </ul> </div> </div> <div id="p-help" class="vector-menu mw-portlet mw-portlet-help" > <div class="vector-menu-heading"> 帮助 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="寻求帮助"><span>帮助</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%A4%BE%E7%BE%A4%E9%A6%96%E9%A1%B5" title="关于本计划、你可以做什么、应该如何做"><span>维基社群</span></a></li><li id="n-policy" class="mw-list-item"><a href="/wiki/Wikipedia:%E6%96%B9%E9%87%9D%E8%88%87%E6%8C%87%E5%BC%95" title="查看维基百科的方针和指引"><span>方针与指引</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88" title="参与维基百科社群的讨论"><span>互助客栈</span></a></li><li id="n-Information_desk" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%9F%A5%E8%AF%86%E9%97%AE%E7%AD%94" title="解答任何与维基百科无关的问题的地方"><span>知识问答</span></a></li><li id="n-conversion" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2" title="提出字词转换请求"><span>字词转换</span></a></li><li id="n-IRC" class="mw-list-item"><a href="/wiki/Wikipedia:IRC%E8%81%8A%E5%A4%A9%E9%A2%91%E9%81%93"><span>IRC即时聊天</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikipedia:%E8%81%94%E7%BB%9C%E6%88%91%E4%BB%AC" title="如何联络维基百科"><span>联络我们</span></a></li><li id="n-about" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="查看维基百科的简介"><span>关于维基百科</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="维基百科" src="/static/images/mobile/copyright/wikipedia-wordmark-zh.svg" style="width: 6.5625em; height: 1.375em;"> <img class="mw-logo-tagline" alt="自由的百科全书" src="/static/images/mobile/copyright/wikipedia-tagline-zh.svg" width="103" height="14" style="width: 6.4375em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:%E6%90%9C%E7%B4%A2" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="搜索维基百科[f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>搜索</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="搜索维基百科" aria-label="搜索维基百科" autocapitalize="sentences" title="搜索维基百科[f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:搜索"> </div> <button class="cdx-button cdx-search-input__end-button">搜索</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="个人工具"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="更改页面字体大小、宽度和颜色的外观" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="外观" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">外观</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;uselang=zh-hans" class=""><span>资助维基百科</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&amp;returnto=Help%3A%E8%AE%A1%E7%AE%97" title="我们推荐您创建账号并登录,但这不是强制性的" class=""><span>创建账号</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&amp;returnto=Help%3A%E8%AE%A1%E7%AE%97" title="建议你登录,尽管并非必须。[o]" accesskey="o" class=""><span>登录</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="更多选项" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="个人工具" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">个人工具</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="用户菜单" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;uselang=zh-hans"><span>资助维基百科</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&amp;returnto=Help%3A%E8%AE%A1%E7%AE%97" title="我们推荐您创建账号并登录,但这不是强制性的"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>创建账号</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&amp;returnto=Help%3A%E8%AE%A1%E7%AE%97" title="建议你登录,尽管并非必须。[o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>登录</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> 未登录编辑者的页面 <a href="/wiki/Help:%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8" aria-label="了解有关编辑的更多信息"><span>了解详情</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%B4%A1%E7%8C%AE" title="来自此IP地址的编辑列表[y]" accesskey="y"><span>贡献</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="对于来自此IP地址编辑的讨论[n]" accesskey="n"><span>讨论</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="目录" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">目录</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">隐藏</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">序言</div> </a> </li> <li id="toc-样例" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#样例"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>样例</span> </div> </a> <ul id="toc-样例-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-詳細運算子、函數、常數說明" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#詳細運算子、函數、常數說明"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>詳細運算子、函數、常數說明</span> </div> </a> <ul id="toc-詳細運算子、函數、常數說明-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-错误" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#错误"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>错误</span> </div> </a> <button aria-controls="toc-错误-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>开关错误子章节</span> </button> <ul id="toc-错误-sublist" class="vector-toc-list"> <li id="toc-错误的样例" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#错误的样例"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>错误的样例</span> </div> </a> <ul id="toc-错误的样例-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-误差" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#误差"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>误差</span> </div> </a> <ul id="toc-误差-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-注意内部数字表示" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#注意内部数字表示"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>注意内部数字表示</span> </div> </a> <ul id="toc-注意内部数字表示-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-参见" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#参见"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>参见</span> </div> </a> <ul id="toc-参见-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="目录" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="开关目录" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">开关目录</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">计算</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="前往另一种语言写成的文章。4种语言可用" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-4" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">4种语言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%B9%D9%85%D9%84%D9%8A%D8%A7%D8%AA_%D8%AD%D8%B3%D8%A7%D8%A8%D9%8A%D8%A9" title="مساعدة:عمليات حسابية – 阿拉伯语" lang="ar" hreflang="ar" data-title="مساعدة:عمليات حسابية" data-language-autonym="العربية" data-language-local-name="阿拉伯语" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Help:Calculation" title="Help:Calculation – 英语" lang="en" hreflang="en" data-title="Help:Calculation" data-language-autonym="English" data-language-local-name="英语" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Hjelp:Utregning" title="Hjelp:Utregning – 书面挪威语" lang="nb" hreflang="nb" data-title="Hjelp:Utregning" data-language-autonym="Norsk bokmål" data-language-local-name="书面挪威语" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Pomo%C4%8D:Ra%C4%8Dunanje" title="Pomoč:Računanje – 斯洛文尼亚语" lang="sl" hreflang="sl" data-title="Pomoč:Računanje" data-language-autonym="Slovenščina" data-language-local-name="斯洛文尼亚语" class="interlanguage-link-target"><span>Slovenščina</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q11450832#sitelinks-wikipedia" title="编辑跨语言链接" class="wbc-editpage">编辑链接</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="命名空间"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-help" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:%E8%AE%A1%E7%AE%97" title="查看帮助页面[c]" accesskey="c"><span>帮助</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help_talk:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="关于此页面的讨论(页面不存在)[t]" accesskey="t"><span>讨论</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown " > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="更改语言变体" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">不转换</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-varlang-0" class="selected ca-variants-zh mw-list-item"><a href="/zh/Help:%E8%AE%A1%E7%AE%97" lang="zh" hreflang="zh"><span>不转换</span></a></li><li id="ca-varlang-1" class="ca-variants-zh-Hans mw-list-item"><a href="/zh-hans/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hans" hreflang="zh-Hans"><span>简体</span></a></li><li id="ca-varlang-2" class="ca-variants-zh-Hant mw-list-item"><a href="/zh-hant/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hant" hreflang="zh-Hant"><span>繁體</span></a></li><li id="ca-varlang-3" class="ca-variants-zh-Hans-CN mw-list-item"><a href="/zh-cn/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hans-CN" hreflang="zh-Hans-CN"><span>大陆简体</span></a></li><li id="ca-varlang-4" class="ca-variants-zh-Hant-HK mw-list-item"><a href="/zh-hk/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hant-HK" hreflang="zh-Hant-HK"><span>香港繁體</span></a></li><li id="ca-varlang-5" class="ca-variants-zh-Hant-MO mw-list-item"><a href="/zh-mo/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hant-MO" hreflang="zh-Hant-MO"><span>澳門繁體</span></a></li><li id="ca-varlang-6" class="ca-variants-zh-Hans-MY mw-list-item"><a href="/zh-my/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hans-MY" hreflang="zh-Hans-MY"><span>大马简体</span></a></li><li id="ca-varlang-7" class="ca-variants-zh-Hans-SG mw-list-item"><a href="/zh-sg/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hans-SG" hreflang="zh-Hans-SG"><span>新加坡简体</span></a></li><li id="ca-varlang-8" class="ca-variants-zh-Hant-TW mw-list-item"><a href="/zh-tw/Help:%E8%AE%A1%E7%AE%97" lang="zh-Hant-TW" hreflang="zh-Hant-TW"><span>臺灣正體</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="查看"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:%E8%AE%A1%E7%AE%97"><span>阅读</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=history" title="本页面的早前版本。[h]" accesskey="h"><span>查看历史</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="工具" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">工具</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">工具</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">隐藏</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="更多选项" > <div class="vector-menu-heading"> 操作 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Help:%E8%AE%A1%E7%AE%97"><span>阅读</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=history"><span>查看历史</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> 常规 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/Help:%E8%AE%A1%E7%AE%97" title="列出所有与本页相链的页面[j]" accesskey="j"><span>链入页面</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/Help:%E8%AE%A1%E7%AE%97" rel="nofollow" title="页面链出所有页面的更改[k]" accesskey="k"><span>相关更改</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Project:%E4%B8%8A%E4%BC%A0" title="上传图像或多媒体文件[u]" accesskey="u"><span>上传文件</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="全部特殊页面的列表[q]" accesskey="q"><span>特殊页面</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;oldid=77357973" title="此页面该修订版本的固定链接"><span>固定链接</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=info" title="关于此页面的更多信息"><span>页面信息</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:URL%E7%BC%A9%E7%9F%AD%E7%A8%8B%E5%BA%8F&amp;url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FHelp%3A%25E8%25AE%25A1%25E7%25AE%2597"><span>获取短链接</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FHelp%3A%25E8%25AE%25A1%25E7%25AE%2597"><span>下载二维码</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> 打印/导出 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Help%3A%E8%AE%A1%E7%AE%97&amp;action=show-download-screen"><span>下载为PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="本页面的可打印版本[p]" accesskey="p"><span>打印页面</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> 在其他项目中 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Help:Calculation" hreflang="en"><span>元维基</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q11450832" title="链接到连接的数据仓库项目[g]" accesskey="g"><span>维基数据项目</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">外观</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">隐藏</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">维基百科,自由的百科全书</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="zh" dir="ltr"><table style="border: 1px solid #cccccc; padding: 2px; width: 100%; text-align: center"> <tbody><tr> <td><b>维基百科使用手册</b><style data-mw-deduplicate="TemplateStyles:r84265675">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:" :"}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist-pipe dd::after,.mw-parser-output .hlist-pipe li::after{content:" | ";font-weight:normal}.mw-parser-output .hlist-hyphen dd::after,.mw-parser-output .hlist-hyphen li::after{content:" - ";font-weight:normal}.mw-parser-output .hlist-comma dd::after,.mw-parser-output .hlist-comma li::after{content:"、";font-weight:normal}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:"("counter(listitem)"\a0 "}.mw-parser-output ul.cslist,.mw-parser-output ul.sslist{margin:0;padding:0;display:inline-block;list-style:none}.mw-parser-output .cslist li,.mw-parser-output .sslist li{margin:0;display:inline-block}.mw-parser-output .cslist li::after{content:","}.mw-parser-output .sslist li::after{content:";"}.mw-parser-output .cslist li:last-child::after,.mw-parser-output .sslist li:last-child::after{content:none}</style><div class="hlist" style="margin-left: 0em;"> <ul><li><a href="/wiki/Help:%E4%BD%BF%E7%94%A8%E6%89%8B%E5%86%8A%E7%B4%A2%E5%BC%95" title="Help:使用手冊索引">索引</a></li> <li><a href="/wiki/Help:%E9%97%9C%E6%96%BC%E6%88%91%E5%80%91" title="Help:關於我們">關於</a></li> <li><a href="/wiki/Help:%E8%AF%BB%E8%80%85%E6%89%8B%E5%86%8C" title="Help:读者手册">阅读</a></li> <li><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E6%89%8B%E5%86%8C" title="Help:编辑手册">编辑</a></li> <li><a href="/wiki/Help:%E7%AE%A1%E7%90%86%E6%89%8B%E5%86%8C" title="Help:管理手册">管理</a></li> <li><a href="/wiki/Help:%E9%96%8B%E7%99%BC%E6%89%8B%E5%86%8A" title="Help:開發手冊">开发</a></li> <li><a href="/wiki/Help:%E9%99%84%E5%BD%95" title="Help:附录">附錄</a></li> <li><span class="plainlinks"><a class="external text" href="https://meta.wikimedia.org/wiki/Help:Contents/zh?variant=zh-hans">元帮助</a></span></li></ul> </div> </td></tr></tbody></table> <style data-mw-deduplicate="TemplateStyles:r82655521">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:#f9f9f9;display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><div class="side-box side-box-right plainlinks sistersitebox" style="font-size:small;"><style data-mw-deduplicate="TemplateStyles:r82655520">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style> <div class="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/40px-Wikimedia_Community_Logo.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/60px-Wikimedia_Community_Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/80px-Wikimedia_Community_Logo.svg.png 2x" data-file-width="900" data-file-height="900"/></span></span></div> <div class="side-box-text plainlist">元維基有相關資訊:<b><a href="https://meta.wikimedia.org/wiki/Help:Calculation" class="extiw" title="meta:Help:Calculation">Help:Calculation</a></b></div></div> </div> <style data-mw-deduplicate="TemplateStyles:r85100532">.mw-parser-output .hatnote{font-size:small}.mw-parser-output div.hatnote{padding-left:2em;margin-bottom:0.8em;margin-top:0.8em}.mw-parser-output .hatnote-notice-img::after{content:"\202f \202f \202f \202f "}.mw-parser-output .hatnote-notice-img-small::after{content:"\202f \202f "}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}body.skin-minerva .mw-parser-output .hatnote-notice-img,body.skin-minerva .mw-parser-output .hatnote-notice-img-small{display:none}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable"><span class="noviewer hatnote-notice-img" typeof="mw:File"><a href="/wiki/Wikipedia:%E6%B6%88%E6%AD%A7%E4%B9%89" title="Wikipedia:消歧义"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/25px-Disambig_gray.svg.png" decoding="async" width="25" height="19" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/38px-Disambig_gray.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/50px-Disambig_gray.svg.png 2x" data-file-width="220" data-file-height="168"/></a></span>此帮助页的主題是簡單的<b><a href="/wiki/%E5%AF%A6%E6%95%B8" class="mw-redirect" title="實數">實數</a>運算</b>。关于需要用到<a href="/wiki/%E8%A4%87%E6%95%B8_(%E6%95%B8%E5%AD%B8)" class="mw-redirect" title="複數 (數學)">複數</a>、<a href="/wiki/%E8%A4%87%E5%88%86%E6%9E%90" title="複分析">複變數</a>、<a href="/wiki/%E5%9B%9B%E5%85%83%E6%95%B8" title="四元數">四元數</a>或特殊<a href="/wiki/%E4%BB%A3%E6%95%B8" class="mw-redirect" title="代數">代數</a>運算的場合,請見「<b><a href="/wiki/Template:%E8%A4%87%E8%AE%8A%E9%81%8B%E7%AE%97" title="Template:複變運算">Template:複變運算</a></b>」。</div> <p>借助于Mediawiki的扩展“函数解析器”,计算变得可行。 </p> <dl><dt>注意:目前此功能还有bug,详情见<a href="https://meta.wikimedia.org/wiki/Talk:ParserFunctions#Bugs" class="extiw" title="meta:Talk:ParserFunctions">meta:Talk:ParserFunctions#Bugs</a>。</dt></dl> <p><tt>expr</tt>函数,计算数学表达式。语法为: </p> <div class="skin-invert" style="text-align: center; position: relative; left: 6px; top: 6px;margin-right: 3px; margin-bottom: 3px; width: 100%; text-align: left"> <div style="background: #F1F0F1;"> <div style="position: relative; left: -1px; top: -1px; background: #DBDADB;"> <div style="position: relative; left: -2px; top: -2px; background: #B8B6B8;"> <table style="position: relative; left: -3px; top: -3px; padding: 5px; width: 100%; background: #F9F9F9; border-color: #2F6FAB; border-width: 1px; border-style: solid;"><tbody><tr><td> <dl><dd>{{#expr: <i>表达式</i> }}</dd></dl> </td></tr></tbody></table></div></div></div></div> <p>表达式支持的运算符有: </p> <table class="prettytable" style="text-align: left;"> <tbody><tr> <th>运算符</th> <th>名称</th> <th>优先级</th> <th>元数</th> <th>结合性</th> <th>样例 </th></tr> <tr> <td>+</td> <td>正</td> <td>9</td> <td>1</td> <td>右</td> <td>{{#expr: + 7}} = 7 </td></tr> <tr> <td>-</td> <td>负</td> <td>9</td> <td>1</td> <td>右</td> <td>{{#expr: - 7}} = -7 </td></tr> <tr> <td>not</td> <td>逻辑非</td> <td>9</td> <td>1</td> <td>右</td> <td>{{#expr: not 7}} = 0 </td></tr> <tr> <td>*</td> <td>乘</td> <td>8</td> <td>2</td> <td>左</td> <td>{{#expr: 30 * 7}} = 210 </td></tr> <tr> <td>/</td> <td>除</td> <td>8</td> <td>2</td> <td>左</td> <td>{{#expr: 30 / 7}} = 4.2857142857143 </td></tr> <tr> <td>div</td> <td>除</td> <td>8</td> <td>2</td> <td>左</td> <td>{{#expr: 30 div 7}} = 4.2857142857143 </td></tr> <tr> <td>mod</td> <td>模</td> <td>8</td> <td>2</td> <td>左</td> <td>{{#expr: 30 mod 7}} = 2 </td></tr> <tr> <td>+</td> <td>加</td> <td>6</td> <td>2</td> <td>左</td> <td>{{#expr: 30 + 7}} = 37 </td></tr> <tr> <td>-</td> <td>减</td> <td>6</td> <td>2</td> <td>左</td> <td>{{#expr: 30 - 7}} = 23 </td></tr> <tr> <td>round</td> <td>舍入</td> <td>5</td> <td>2</td> <td>左</td> <td>{{#expr: 30 / 7 round 7}} = 4.2857143 </td></tr> <tr> <td>=</td> <td>等于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 = 7}} = 0 </td></tr> <tr> <td>&lt;</td> <td>小于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 &lt; 7}} = 0 </td></tr> <tr> <td>></td> <td>大于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 > 7}} = 1 </td></tr> <tr> <td>&lt;=</td> <td>小于等于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 &lt;= 7}} = 0 </td></tr> <tr> <td>>=</td> <td>大于等于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 >= 7}} = 1 </td></tr> <tr> <td>&lt;></td> <td>不等于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 &lt;> 7}} = 1 </td></tr> <tr> <td>!=</td> <td>不等于</td> <td>4</td> <td>2</td> <td>左</td> <td>{{#expr: 30 != 7}} = 1 </td></tr> <tr> <td>and</td> <td>逻辑与</td> <td>3</td> <td>2</td> <td>左</td> <td>{{#expr: 30 and 7}} = 1 </td></tr> <tr> <td>or</td> <td>逻辑或</td> <td>2</td> <td>2</td> <td>左</td> <td>{{#expr: 30 or 7}} = 1 </td></tr></tbody></table> <p>round运算对运算数正负,位数正负都有不同的表现,参见下例。 </p><p>逻辑运算符把假映射为0,把真映射为非0,且返回值只有0或1。 </p><p>同一表达式中先计算高优先级运算。括号优先级高于一切。 </p> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="样例" data-mw-thread-id="h-样例"><span id=".E6.A0.B7.E4.BE.8B"></span><span data-mw-comment-start="" id="h-样例"></span>样例<span data-mw-comment-end="h-样例"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=1" title="编辑章节:样例"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u6837\u4f8b","replies":[]}}--></div> <ul><li><code>{{#expr: (100 - 32) / 9 * 5 round 0 }}</code> = 38:<a href="/wiki/%E6%B8%A9%E5%BA%A6%E5%8D%95%E4%BD%8D%E6%8D%A2%E7%AE%97" title="温度单位换算">转换</a><a href="/wiki/%E6%91%84%E6%B0%8F%E6%B8%A9%E6%A0%87" title="摄氏温标">摄氏</a><a href="/wiki/%E8%8F%AF%E6%B0%8F%E6%BA%AB%E6%A8%99" class="mw-redirect" title="華氏溫標">华氏</a><a href="/wiki/%E6%B8%A9%E5%BA%A6" title="温度">温度</a></li> <li><code>{{#expr: 3 &lt; 2 &lt; 1}}</code> = 1</li> <li><code>{{#expr: 2 = 2 = 1}}</code> = 1:与数学表达式不同,“=”、“&lt;”、“>”等运算符有返回值</li> <li><code>{{#expr: 999 * 999 round -2}}</code> = 998000</li> <li><code>{{#expr: 999 * 999 round -20}}</code> = 0</li> <li><code>{{#expr: 999 * 999 round -2.9}}</code> = 998000:round的危险用法</li> <li><code>{{#expr: 1 or 1 and 0}}</code> = 1:优先级演示</li> <li><code>{{#expr: 10.9 mod 2}}</code> = 0:<a href="/wiki/%E5%90%8C%E9%A4%98" title="同餘">mod</a>的危险用法</li> <li><code>{{#expr: 30------7}}</code> = 23</li> <li><code>{{#expr: 30+++++7}}</code> = 37:“+”、“-”运算符有两种含义</li> <li><code>{{#expr: .}}</code> = 0</li> <li><code>{{#expr: .1.1}}</code> = 0.1:<a href="/wiki/%E5%AE%9E%E6%95%B0" title="实数">实数</a>表达法的多样性(会无视多出的小数点)</li> <li><code>{{#expr: ( ( ) )}}</code> = :特殊的<a href="/wiki/%E6%8B%AC%E5%8F%B7" title="括号">括号</a>用法,没有实际意义</li> <li><code>{{#expr: 999999999*...*999999999}}</code> = INF:<a href="/wiki/%E7%AE%97%E8%A1%93%E6%BA%A2%E4%BD%8D" class="mw-redirect" title="算術溢位">数字上溢</a>的结果</li> <li><code>{{#expr:(-1)^0.5}}</code> = NAN:無法計算<a href="/wiki/%E8%99%9B%E6%95%B8%E5%96%AE%E4%BD%8D" title="虛數單位">虛數單位</a></li> <li><code>{{Root|(-1)}}</code> = i:使用<a href="/wiki/Template:Root" title="Template:Root">根號模板</a>(詳見<a href="/wiki/Template:%E8%A4%87%E8%AE%8A%E9%81%8B%E7%AE%97" title="Template:複變運算">Template:複變運算</a>)</li> <li><code>{{複變運算|(-1)^0.5}}</code> = i:使用<a href="/wiki/Template:%E8%A4%87%E8%AE%8A%E9%81%8B%E7%AE%97" title="Template:複變運算">複變運算模板</a></li> <li><code>{{複變運算|e^(((-1)^0.5) * pi)}}</code> = -1:<a href="/wiki/%E6%AD%90%E6%8B%89%E6%81%86%E7%AD%89%E5%BC%8F" title="歐拉恆等式">歐拉恆等式</a></li> <li><code>{{#expr:e^(((-1)^0.5) * pi)}}</code> = NAN:對比使用普通運算功能的<a href="/wiki/%E6%AD%90%E6%8B%89%E6%81%86%E7%AD%89%E5%BC%8F" title="歐拉恆等式">歐拉恆等式</a></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="詳細運算子、函數、常數說明" data-mw-thread-id="h-詳細運算子、函數、常數說明"><span id=".E8.A9.B3.E7.B4.B0.E9.81.8B.E7.AE.97.E5.AD.90.E3.80.81.E5.87.BD.E6.95.B8.E3.80.81.E5.B8.B8.E6.95.B8.E8.AA.AA.E6.98.8E"></span><span data-mw-comment-start="" id="h-詳細運算子、函數、常數說明"></span>詳細運算子、函數、常數說明<span data-mw-comment-end="h-詳細運算子、函數、常數說明"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=2" title="编辑章节:詳細運算子、函數、常數說明"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u8a73\u7d30\u904b\u7b97\u5b50\u3001\u51fd\u6578\u3001\u5e38\u6578\u8aaa\u660e","replies":[]}}--></div> <table class="wikitable sortable"> <tbody><tr> <th><i>表達式</i> </th> <th><i><abbr title="參數數量">參數</abbr></i> </th> <th><i>運算子</i> </th> <th><i>PHP</i> </th> <th><i>資料型態</i> </th> <th><i><abbr title="運算子優先順序">優先級</abbr></i> </th> <th><i>範例</i> </th></tr> <tr> <td><span class="anchor" id="一元減"></span><span class="anchor" id="負號"></span><b>-</b></td> <td>1 </td> <td><a href="/wiki/%E4%B8%80%E5%85%83%E9%81%8B%E7%AE%97#一元負數和正數" title="一元運算">一元 <b><tt>-</tt></b> 符號</a> (負號) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">-</a></td> <td>與參數相同</td> <td><span data-sort-value="7001100000000000000♠">10</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:-12}}</code></td> <td>-12 </td></tr> <tr> <td><code>{{#expr:-trunc12}}</code></td> <td>-12 </td></tr> <tr> <td><code>{{#expr:-trunc(-2^63)}}</code></td> <td>9.2233720368548E+18 </td></tr> </tbody></table> </td></tr> <tr> <td><span class="anchor" id="科學記號"></span><b><code>e</code></b><br/> (位於子表達式之間)</td> <td>2</td> <td>*10^<br/>以10為底的指數<br/><a href="/wiki/%E7%A7%91%E5%AD%B8%E8%A8%98%E8%99%9F" class="mw-redirect" title="科學記號">科學記號</a></td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">*</a> <a rel="nofollow" class="external text" href="http://php.net/manual/en/function.pow.php">pow</a> (10,..)</td> <td>浮點數,除非左邊的參數是整數且指數是非負整數</td> <td><span data-sort-value="7001100000000000000♠">10</span> </td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:2e3}}</code></td> <td>2000 </td></tr> <tr> <td><code>{{#expr:-2.3e-4}}</code></td> <td>-0.00023 </td></tr> <tr> <td><code>{{#expr:(trunc2)e(trunc-3)}}</code></td> <td>0.002 </td></tr> <tr> <td><code>{{#expr:(trunc2)e(trunc0)}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:(trunc2)e(trunc18)}}</code></td> <td>2000000000000000000 </td></tr> <tr> <td><code>{{#expr:(trunc2)e(trunc19)}}</code></td> <td>2.0E+19 </td></tr> <tr> <td><code>{{#expr:6e(5-2)e-2}}</code></td> <td>60 </td></tr> <tr> <td><code>{{#expr:1e.5}}</code></td> <td>3.1622776601684 </td></tr> </tbody></table> <p>錯誤範例: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:e4}}</code></td> <td><strong class="error">表达式错误:预期外的数字。</strong> </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>exp</code></b></td> <td>1 </td> <td><a href="/wiki/%E6%8C%87%E6%95%B0%E5%87%BD%E6%95%B0" title="指数函数">自然指數函數 e<sup>x</sup></a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.exp.php">exp</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:exp43}}</code></td> <td>4.7278394682293E+18 </td></tr> <tr> <td><code>{{#expr:exp trunc0}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:exp709}}</code></td> <td>8.218407461555E+307 </td></tr> <tr> <td><code>{{#expr:exp-744}}</code></td> <td>9.8813129168249E-324 </td></tr> </tbody></table> <p>比較: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:e^43}}</code></td> <td>4.7278394682293E+18 </td></tr> <tr> <td><code>{{#expr:trunc exp43}}</code></td> <td>4727839468229346304 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>ln</code></b></td> <td>1 </td> <td><a href="/wiki/%E8%87%AA%E7%84%B6%E5%B0%8D%E6%95%B8" title="自然對數">自然對數</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.log.php"><sup>log</sup></a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:ln2}}</code></td> <td>0.69314718055995 </td></tr> <tr> <td><code>{{#expr:ln trunc1}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:ln8.9e307}}</code></td> <td>709.07967482591 </td></tr> <tr> <td><code>{{#expr:ln.5e-323}}</code></td> <td>-744.44007192138 </td></tr> </tbody></table> <p>可用換底公式轉換為常用對數,例如 log 2 ≒ 0.3010: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:ln2/ln10}}</code></td> <td>0.30102999566398 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>abs</code></b></td> <td>1 </td> <td><a href="/wiki/%E7%B5%95%E5%B0%8D%E5%80%BC" class="mw-redirect" title="絕對值">絕對值</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.abs.php">abs</a></td> <td>同於輸入值,並且非負</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:abs-2}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:abs trunc-2}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:abs trunc-2^63}}</code></td> <td>9.2233720368548E+18 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>sqrt</code></b></td> <td>1 </td> <td><a href="/wiki/%E5%B9%B3%E6%96%B9%E6%A0%B9" title="平方根">平方根</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.sqrt.php">sqrt</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:sqrt 4}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:sqrt 2}}</code></td> <td>1.4142135623731 </td></tr> <tr> <td><code>{{#expr:sqrt 1e19}}</code></td> <td>3162277660.1684 </td></tr> </tbody></table> <p>此平方根計算無法處理結果為<a href="/wiki/%E8%99%9B%E6%95%B8" class="mw-redirect" title="虛數">虛數</a>或<a href="/wiki/%E8%A4%87%E6%95%B8_(%E6%95%B8%E5%AD%B8)" class="mw-redirect" title="複數 (數學)">複數</a>的情況,<br/>計負值的平方根會出錯: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:sqrt-1}}</code></td> <td><strong class="error">sqrt内:结果不是数字。</strong> </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>trunc</code></b></td> <td>1 </td> <td><a href="/wiki/%E6%88%AA%E5%B0%BE%E5%87%BD%E6%95%B8" title="截尾函數">截尾函數</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.types.integer.php#language.types.integer.casting">(int)</a>, 即<a href="/wiki/%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2" title="类型转换">轉換型態</a>為<a href="/wiki/%E6%95%B4%E6%95%B8" class="mw-redirect" title="整數">整數</a></td> <td>整數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:trunc1.2}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:trunc1.8}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:trunc-1.2}}</code></td> <td>-1 </td></tr> <tr> <td><code>{{#expr:trunc(-2^64+1e5)}}</code></td> <td>98304 </td></tr> <tr> <td><code>{{#expr:trunc(-2^63+1e5)}}</code></td> <td>-9223372036854675456 </td></tr> <tr> <td><code>{{#expr:trunc(2^63)}}</code></td> <td>-9223372036854775808 </td></tr> <tr> <td><code>{{#expr:trunc(2^63+1e5)}}</code></td> <td>-9223372036854675456 </td></tr> <tr> <td><code>{{#expr:trunc(2^64+1e5)}}</code></td> <td>98304 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>floor</code></b></td> <td>1 </td> <td><a href="/wiki/%E5%8F%96%E6%95%B4%E5%87%BD%E6%95%B0" title="取整函数">向下取整函数</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.floor.php">floor</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:floor1.2}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:floor-1.2}}</code></td> <td>-2 </td></tr> <tr> <td><code>{{#expr:floor trunc3}}</code></td> <td>3 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>ceil</code></b></td> <td>1 </td> <td><a href="/wiki/%E5%8F%96%E6%95%B4%E5%87%BD%E6%95%B0" title="取整函数">向上取整函数</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.ceil.php">ceil</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:ceil1.2}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:ceil-1.2}}</code></td> <td>-1 </td></tr> <tr> <td><code>{{#expr:ceil trunc3}}</code></td> <td>3 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>sin</code></b></td> <td>1 </td> <td><a href="/wiki/%E6%AD%A3%E5%BC%A6%E5%87%BD%E6%95%B0" class="mw-redirect" title="正弦函数">正弦函數</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.sin.php">sin</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:sin.1}}</code></td> <td>0.099833416646828 </td></tr> <tr> <td><code>{{#expr:sin trunc1}}</code></td> <td>0.8414709848079 </td></tr> </tbody></table> <p>若要使用角度(如30°)可表達為: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:sin(30*pi/180)}}</code></td> <td>0.5 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>cos</code></b></td> <td>1 </td> <td><a href="/wiki/%E4%BD%99%E5%BC%A6%E5%87%BD%E6%95%B0" class="mw-redirect" title="余弦函数">餘弦函數</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.cos.php">cos</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:cos.1}}</code></td> <td>0.99500416527803 </td></tr> <tr> <td><code>{{#expr:cos trunc1}}</code></td> <td>0.54030230586814 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>tan</code></b></td> <td>1 </td> <td><a href="/wiki/%E6%AD%A3%E5%88%87%E5%87%BD%E6%95%B0" class="mw-redirect" title="正切函数">正切函數</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.tan.php">tan</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:tan.1}}</code></td> <td>0.10033467208545 </td></tr> <tr> <td><code>{{#expr:tan trunc1}}</code></td> <td>1.5574077246549 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>asin</code></b></td> <td>1 </td> <td><a href="/wiki/%E5%8F%8D%E6%AD%A3%E5%BC%A6" title="反正弦">反正弦</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.asin.php">asin</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:asin.1}}</code></td> <td>0.10016742116156 </td></tr> <tr> <td><code>{{#expr:asin trunc1}}</code></td> <td>1.5707963267949 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>acos</code></b></td> <td>1 </td> <td><a href="/wiki/%E5%8F%8D%E9%A4%98%E5%BC%A6" title="反餘弦">反餘弦</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.acos.php">acos</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:acos.1}}</code></td> <td>1.4706289056333 </td></tr> <tr> <td><code>{{#expr:acos trunc1}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:2*acos 0}}</code></td> <td>3.1415926535898 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>atan</code></b></td> <td>1 </td> <td><a href="/wiki/%E5%8F%8D%E6%AD%A3%E5%88%87" title="反正切">反正切</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.atan.php">atan</a></td> <td>浮點數</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:atan.1}}</code></td> <td>0.099668652491162 </td></tr> <tr> <td><code>{{#expr:atan trunc1}}</code></td> <td>0.78539816339745 </td></tr> <tr> <td><code>{{#expr:4*atan 1}}</code></td> <td>3.1415926535898 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>not</code></b></td> <td>1 </td> <td><a href="/wiki/%E9%80%BB%E8%BE%91%E9%9D%9E" title="逻辑非">逻辑非</a> </td> <td><a rel="nofollow" class="external text" href="http://www.php.net/manual/en/language.operators.logical.php">!</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000900000000000000♠">9</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:not0}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:not1}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:not2}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:not trunc1}}</code></td> <td>0 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>^</code></b></td> <td>2 </td> <td><a href="/wiki/%E5%86%AA" title="冪">冪</a> (<a href="/wiki/%E6%8C%87%E6%95%B0" class="mw-disambig" title="指数">指數</a>) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.pow.php">pow</a></td> <td>原則上為浮點數。若底數為整數且指數為非負整數則為整數</td> <td><span data-sort-value="7000800000000000000♠">8</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:2^3}}</code></td> <td>8 </td></tr> <tr> <td><code>{{#expr:-2^3}}</code></td> <td>-8 </td></tr> <tr> <td><code>{{#expr:-2^4}}</code></td> <td>16 </td></tr> <tr> <td><code>{{#expr:(trunc2)^(trunc-3)}}</code></td> <td>0.125 </td></tr> <tr> <td><code>{{#expr:(trunc2)^(trunc0)}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:(trunc2)^(trunc62)}}</code></td> <td>4611686018427387904 </td></tr> <tr> <td><code>{{#expr:(trunc2)^(trunc63)}}</code></td> <td>9.2233720368548E+18 </td></tr> <tr> <td><code>{{#expr:(-2)^1.2}}</code></td> <td>NAN </td></tr> <tr> <td><code>{{#expr:(-2)^.5}}</code></td> <td>NAN </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>*</code></b></td> <td>2 </td> <td><a href="/wiki/%E4%B9%98%E6%B3%95" title="乘法">乘法</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">*</a></td> <td>若兩參數為整數,則為整數,否則為浮點數</td> <td><span data-sort-value="7000700000000000000♠">7</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:2*3}}</code></td> <td>6 </td></tr> <tr> <td><code>{{#expr:(trunc2)*3}}</code></td> <td>6 </td></tr> <tr> <td><code>{{#expr:2*trunc3}}</code></td> <td>6 </td></tr> <tr> <td><code>{{#expr:(trunc2)*trunc3}}</code></td> <td>6 </td></tr> <tr> <td><code>{{#expr:(trunc1e10)*trunc1e9}}</code></td> <td>1.0E+19 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>/</code></b> (或寫作<b>div</b>)</td> <td>2 </td> <td><a href="/wiki/%E9%99%A4%E6%B3%95" title="除法">除法</a> <br/>(div非整數除法<sup id="cite_ref-divmod_1-0" class="reference"><a href="#cite_note-divmod-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">/</a></td> <td>原則上為浮點數。若兩參數皆為整數且<a href="/wiki/%E6%95%B4%E9%99%A4" class="mw-redirect" title="整除">整除</a>則為整數</td> <td><span data-sort-value="7000700000000000000♠">7</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:6/3}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:(trunc6)/3}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:2/trunc6}}</code></td> <td>0.33333333333333 </td></tr> <tr> <td><code>{{#expr:(trunc6)/trunc3}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:(trunc6)/trunc4}}</code></td> <td>1.5 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>mod</code></b></td> <td>2 </td> <td><a href="/wiki/%E6%A8%A1%E9%99%A4" title="模除">模除</a>。 實行<a href="/wiki/%E5%B8%A6%E4%BD%99%E9%99%A4%E6%B3%95" title="带余除法">帶餘除法</a><br/>時會將前後兩數截<br/>成整數。<sup id="cite_ref-divmod_1-1" class="reference"><a href="#cite_note-divmod-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">%</a></td> <td>整數</td> <td><span data-sort-value="7000700000000000000♠">7</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:30mod7}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:-30mod7}}</code></td> <td>-2 </td></tr> <tr> <td><code>{{#expr:30mod-7}}</code></td> <td>2 </td></tr> <tr> <td><code>{{#expr:-30mod-7}}</code></td> <td>-2 </td></tr> <tr> <td><code>{{#expr:30.5mod7.9}}</code></td> <td>2 </td></tr> </tbody></table> <p>部分<a href="/wiki/%E9%99%A4%E6%95%B8" class="mw-redirect" title="除數">除數</a>無法取餘數 (見<a href="#Limitations_and_workarounds">限制章節</a>): </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:123mod2^64}}</code></td> <td><strong class="error">除以零。</strong> </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>fmod</code></b></td> <td>2 </td> <td><a href="/wiki/%E6%A8%A1%E9%99%A4" title="模除">模除</a>,浮點數版本。<br/>返回減去第二參數之整數<br/>倍的第一參數。 </td> <td><a rel="nofollow" class="external text" href="https://www.php.net/manual/en/function.fmod.php">fmod</a></td> <td>浮點數</td> <td><span data-sort-value="7000700000000000000♠">7</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:5.7fmod1.3}}</code></td> <td>0.5 </td></tr> <tr> <td><code>{{#expr:99.9fmod60}}</code></td> <td>39.9 </td></tr> <tr> <td><code>{{#expr:2.99fmod1}}</code></td> <td>0.99 </td></tr> <tr> <td><code>{{#expr:-2.99fmod1}}</code></td> <td>-0.99 </td></tr> <tr> <td><code>{{#expr:2.99fmod-1}}</code></td> <td>0.99 </td></tr> <tr> <td><code>{{#expr:-2.99fmod-1}}</code></td> <td>-0.99 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>+</code></b></td> <td>2 </td> <td><a href="/wiki/%E5%8A%A0%E6%B3%95" title="加法">加法</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">+</a></td> <td>若兩參數皆為整數則為整數,其餘浮點數</td> <td><span data-sort-value="7000600000000000000♠">6</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:2+3}}</code></td> <td>5 </td></tr> <tr> <td><code>{{#expr:(trunc2)+3}}</code></td> <td>5 </td></tr> <tr> <td><code>{{#expr:2+trunc3}}</code></td> <td>5 </td></tr> <tr> <td><code>{{#expr:(trunc2)+trunc3}}</code></td> <td>5 </td></tr> <tr> <td><code>{{#expr:(trunc7e18)+trunc4e18}}</code></td> <td>1.1E+19 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>-</code></b></td> <td>2 </td> <td><a href="/wiki/%E6%B8%9B%E6%B3%95" title="減法">減法</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.arithmetic.php">-</a></td> <td>若兩參數皆為整數則為整數,其餘浮點數</td> <td><span data-sort-value="7000600000000000000♠">6</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:3-2}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:(trunc3)-2}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:2-trunc2}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:(trunc3)-trunc2}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:(trunc-7e18)-trunc4e18}}</code></td> <td>-1.1E+19 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>round</code></b></td> <td>2 </td> <td>將指定的小數位數<br/>做<a href="/wiki/%E6%95%B0%E5%80%BC%E4%BF%AE%E7%BA%A6" title="数值修约">四捨五入</a>,若為<br/>負值則會對指數<br/>為數做四捨五入。 </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.round.php">round</a></td> <td>浮點數</td> <td><span data-sort-value="7000500000000000000♠">5</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:9.876round2}}</code></td> <td>9.88 </td></tr> <tr> <td><code>{{#expr:(trunc1234)round trunc-2}}</code></td> <td>1200 </td></tr> <tr> <td><code>{{#expr:4.5round0}}</code></td> <td>5 </td></tr> <tr> <td><code>{{#expr:-4.5round0}}</code></td> <td>-5 </td></tr> <tr> <td><code>{{#expr:46.857round1.8}}</code></td> <td>46.9 </td></tr> <tr> <td><code>{{#expr:46.857round-1.8}}</code></td> <td>50 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>=</code></b></td> <td>2 </td> <td><a href="/wiki/%E7%9B%B8%E7%AD%89" title="相等">相等</a>(數字或邏輯的<br/>相等運算,不支援<br/>字串比對) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.comparison.php">==</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000400000000000000♠">4</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:3.0=3}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3.1=3}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:3.0=trunc3}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3.1=trunc3}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:1e16=trunc(1e16)}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:1e16=trunc(1e16)+trunc1}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:trunc(1e16)=trunc(1e16)+trunc1}}</code></td> <td>0 </td></tr> </tbody></table> <p>錯誤用法: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:a=a}}</code></td> <td><strong class="error">表达式错误:无法识别词语“a”。</strong> </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>&lt;</code></b></td> <td>2 </td> <td><a href="/wiki/%E4%B8%8D%E7%AD%89" title="不等">小於</a>(不適用於字串<br/>比較) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.comparison.php">&lt;</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000400000000000000♠">4</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:3&lt;3}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:3&lt;4}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:2.9&lt;3}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3.0&lt;3}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:2.9&lt;trunc3}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3.0&lt;trunc3}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:1e16&lt;trunc(1e16)+trunc1}}</code></td> <td>0 </td></tr> </tbody></table> <p>wrong: </p> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:a&lt;b}}</code></td> <td><strong class="error">表达式错误:无法识别词语“a”。</strong> </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>></code></b></td> <td>2 </td> <td><a href="/wiki/%E4%B8%8D%E7%AD%89" title="不等">大於</a>(當參數顛倒時<br/>與 &lt; 相同) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.comparison.php">></a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000400000000000000♠">4</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:4>3}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3>3}}</code></td> <td>0 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>&lt;=</code></b></td> <td>2 </td> <td><a href="/wiki/%E4%B8%8D%E7%AD%89" title="不等">小於等於</a>(當參數<br/>顛倒時與 >= 相同) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.comparison.php">&lt;=</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000400000000000000♠">4</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:3&lt;=4}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3&lt;=3}}</code></td> <td>1 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>>=</code></b></td> <td>2 </td> <td><a href="/wiki/%E4%B8%8D%E7%AD%89" title="不等">大於等於</a>(&lt;的否定) </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.logical.php">>=</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000400000000000000♠">4</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:4>=3}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:3>=3}}</code></td> <td>1 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>and</code></b></td> <td>2 </td> <td><a href="/wiki/%E9%80%BB%E8%BE%91%E4%B8%8E" title="逻辑与">逻辑与</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.logical.php">&amp;&amp;</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000300000000000000♠">3</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:3and4}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:-3and0}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:0and4}}</code></td> <td>0 </td></tr> <tr> <td><code>{{#expr:0and0}}</code></td> <td>0 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>or</code></b></td> <td>2 </td> <td><a href="/wiki/%E9%80%BB%E8%BE%91%E6%88%96" title="逻辑或">逻辑或</a> </td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/language.operators.logical.php">||</a></td> <td>以整數表達<br/>的<a href="/wiki/%E5%B8%83%E6%9E%97%E5%80%BC" class="mw-redirect" title="布林值">布林值</a><br/> (1 或 0)</td> <td><span data-sort-value="7000200000000000000♠">2</span></td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:3or4}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:-3or0}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:0or4}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:0or0}}</code></td> <td>0 </td></tr> </tbody></table> </td></tr> <tr> <td><span class="anchor" id="一元加"></span><span class="anchor" id="正號"></span><b><code>+</code></b></td> <td>1 </td> <td><a href="/wiki/%E4%B8%80%E5%85%83%E9%81%8B%E7%AE%97#一元負數和正數" title="一元運算">一元 <b><tt>+</tt></b> 符號</a> (正號) </td> <td>(不適用)</td> <td>與參數相同</td> <td>不適用</td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:+1}}</code></td> <td>1 </td></tr> <tr> <td><code>{{#expr:+-1}}</code></td> <td>-1 </td></tr> <tr> <td><code>{{#expr:+trunc1}}</code></td> <td>1 </td></tr> </tbody></table> </td></tr> <tr> <td><span class="nowrap">(數字)</span></td> <td>0 </td> <td>普通十進制的無符號<br/>數字(<a href="#正號">一元加</a><a href="#負號">減</a>和 <a href="#科學記號">e</a><br/>被視為運算符,請<br/>參見本表的其他地方)</td> <td><a rel="nofollow" class="external text" href="http://nl.php.net/manual/en/function.floatval.php">floatval</a></td> <td>浮點數</td> <td>不適用 </td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:1234567890123456789}}</code></td> <td>1.2345678901235E+18 </td></tr> <tr> <td><code>{{#expr:123456789.0123456789}}</code></td> <td>123456789.01235 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>e</code></b>作為<br/>子表達式</td> <td>0 </td> <td>數學常數<a href="/wiki/E_(%E6%95%B8%E5%AD%B8%E5%B8%B8%E6%95%B8)" class="mw-redirect" title="E (數學常數)">e</a></td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.exp.php">exp</a>(1)</td> <td>浮點數</td> <td>不適用 </td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:e}}</code></td> <td>2.718281828459 </td></tr> </tbody></table> </td></tr> <tr> <td><b><code>pi</code></b></td> <td>0 </td> <td>數學常數<a href="/wiki/%E5%9C%93%E5%91%A8%E7%8E%87" title="圓周率">圓周率</a> <a href="/wiki/%E5%9C%93%E5%91%A8%E7%8E%87" title="圓周率">π</a></td> <td><a rel="nofollow" class="external text" href="http://php.net/manual/en/function.pi.php">pi</a></td> <td>浮點數</td> <td>不適用 </td> <td> <table class="wikitable"> <tbody><tr> <td><code>{{#expr:pi}}</code></td> <td>3.1415926535898 </td></tr> </tbody></table> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="错误" data-mw-thread-id="h-错误"><span id=".E9.94.99.E8.AF.AF"></span><span data-mw-comment-start="" id="h-错误"></span>错误<span data-mw-comment-end="h-错误"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=3" title="编辑章节:错误"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u9519\u8bef","replies":["h-\u9519\u8bef\u7684\u6837\u4f8b-\u9519\u8bef"]}}--></div> <p>此函数检查错误并给出信息。 </p> <ul><li>Expression error: stack exhausted:表达式太长,栈耗尽;</li> <li>Expression error: unexpected number:不可预期的数字;</li> <li>Expression error: unexpected preg_match failure:运算符匹配失败;</li> <li>Expression error: unrecognised word "$1":不可识别的运算符;</li> <li>Expression error: unexpected $1 operator:不可预期的运算符;</li> <li>Expression error: Missing operand for $1:缺少运算数;</li> <li>Expression error: unexpected closing bracket:不可预料的“)”</li> <li>Expression error: unrecognised punctuation character "$1":不可识别的标点字符;</li> <li>Expression error: unclosed bracket:缺少“)”</li> <li>Division by zero:零除错误;</li> <li>In sqrt: Result is not a number:計算結果為虛數。</li> <li>Invalid argument for "$1": "$2":超出"$1"的定義域。</li></ul> <div class="mw-heading mw-heading3"><h3 id="错误的样例" data-mw-thread-id="h-错误的样例-错误"><span id=".E9.94.99.E8.AF.AF.E7.9A.84.E6.A0.B7.E4.BE.8B"></span><span data-mw-comment-start="" id="h-错误的样例-错误"></span>错误的样例<span data-mw-comment-end="h-错误的样例-错误"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=4" title="编辑章节:错误的样例"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><code>{{#expr: ---...---1}}(110个“-”)</code> = <strong class="error">表达式错误:堆栈耗尽。</strong></li> <li><code>{{#expr: ( ) 1}}</code> = <strong class="error">表达式错误:预期外的数字。</strong></li> <li><code>{{#expr: 2 d 1}}</code> = <strong class="error">表达式错误:无法识别词语“d”。</strong></li> <li><code>{{#expr: * 1}}</code> = <strong class="error">表达式错误:预期外的*运算符。</strong></li> <li><code>{{#expr: -}}</code> = <strong class="error">表达式错误:缺少-的操作数。</strong></li> <li><code>{{#expr: ( 1 ) )}}</code> = <strong class="error">表达式错误:预期外的反括号。</strong></li> <li><code>{{#expr: 壹}}</code> = <strong class="error">表达式错误:无法识别标点符号“壹”。</strong></li> <li><code>{{#expr: ( 1}}</code> = <strong class="error">表达式错误:未封闭的括号。</strong></li> <li><code>{{#expr: 1 / 0}}</code> = <strong class="error">除以零。</strong></li> <li><code>{{#expr:sqrt-1}}</code> = <strong class="error">sqrt内:结果不是数字。</strong></li> <li><code>{{#expr:ln0}}</code> = <strong class="error">ln的参数无效:小于或等于0。</strong></li> <li><code>{{#expr:asin-22}}</code> = <strong class="error">asin的参数无效:小于-1或大于1。</strong></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="误差" data-mw-thread-id="h-误差"><span id=".E8.AF.AF.E5.B7.AE"></span><span data-mw-comment-start="" id="h-误差"></span>误差<span data-mw-comment-end="h-误差"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=5" title="编辑章节:误差"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u8bef\u5dee","replies":[]}}--></div> <p><a href="/wiki/%E6%B5%AE%E7%82%B9" class="mw-redirect" title="浮点">浮点</a><a href="/wiki/%E8%AF%AF%E5%B7%AE" title="误差">误差</a>有可能造成某些运算的结果不可预料,特别是最后几位数不精确。使用此函数运算<a href="/wiki/%E5%AE%9E%E6%95%B0" title="实数">实数</a>时,注意不要比较运算。 </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="注意内部数字表示" data-mw-thread-id="h-注意内部数字表示"><span id=".E6.B3.A8.E6.84.8F.E5.86.85.E9.83.A8.E6.95.B0.E5.AD.97.E8.A1.A8.E7.A4.BA"></span><span data-mw-comment-start="" id="h-注意内部数字表示"></span>注意内部数字表示<span data-mw-comment-end="h-注意内部数字表示"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=6" title="编辑章节:注意内部数字表示"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u6ce8\u610f\u5185\u90e8\u6570\u5b57\u8868\u793a","replies":[]}}--></div> <ul><li><code>{{#expr: 100000000000000000}}</code> = 1.0E+17</li> <li><code>{{#expr: {{#expr: 100000000000000000}}}}</code> = 1.0E+17</li> <li><code>{{#expr: (-1.5-0.5 round 0)+2}}</code> = 0</li> <li><code>{{#expr: -0.1 round 0}}</code> = -0</li> <li><code>{{#expr: 2017.5000 round 3}}</code> = 2017.5:使用時會有無法補零的情形。欲補零,可以使用{{<a href="/wiki/Template:Round" class="mw-redirect" title="Template:Round">Round</a>}}模板來解決</li></ul> <p>在返回值中,有可能出现无法<b>再计算</b>的数的情况,或者有一部分<a href="/wiki/%E6%9C%89%E6%95%88%E6%95%B0%E5%AD%97" title="有效数字">有效数字</a>没有显示出来。使用此函数运算时须注意这些问题。 </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="参见" data-mw-thread-id="h-参见"><span id=".E5.8F.82.E8.A7.81"></span><span data-mw-comment-start="" id="h-参见"></span>参见<span data-mw-comment-end="h-参见"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;action=edit&amp;section=7" title="编辑章节:参见"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u53c2\u89c1","replies":[]}}--></div> <ul><li><a href="/wiki/Template:%E8%A4%87%E8%AE%8A%E9%81%8B%E7%AE%97" title="Template:複變運算">Template:複變運算</a>:MediaWiki原生的運算功能只懂得運算<a href="/wiki/%E5%AF%A6%E6%95%B8" class="mw-redirect" title="實數">實數</a>。若要計算<a href="/wiki/%E8%A4%87%E6%95%B8_(%E6%95%B8%E5%AD%B8)" class="mw-redirect" title="複數 (數學)">複數</a>或<a href="/wiki/%E8%A4%87%E5%88%86%E6%9E%90" title="複分析">複變數</a>甚至<a href="/wiki/%E5%9B%9B%E5%85%83%E6%95%B8" title="四元數">四元數</a>可使用<a href="/wiki/Template:%E8%A4%87%E8%AE%8A%E9%81%8B%E7%AE%97" title="Template:複變運算">Template:複變運算</a>模板,如上述示例中對負值取平方根時。</li> <li><a href="/wiki/Help:%E6%A8%A1%E6%9D%BF%E6%89%A9%E5%B1%95%E8%AF%AD%E6%B3%95" class="mw-redirect" title="Help:模板扩展语法">Help:模板扩展语法</a></li> <li>更多资料可参见<a href="https://meta.wikimedia.org/wiki/help:Calculation" class="extiw" title="m:help:Calculation">m:help:Calculation</a><span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="英語">(英文)</span>。</li></ul> <div style="clear: both; height: 1em"></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r84265675"><style data-mw-deduplicate="TemplateStyles:r84261037">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf;position:relative}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em;width:auto;padding-left:0.2em;position:absolute;left:1em}.mw-parser-output .navbox .mw-collapsible-toggle{margin-left:0.5em;position:absolute;right:1em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style><style data-mw-deduplicate="TemplateStyles:r83933911">@media screen{html.skin-theme-clientpref-night .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}</style><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"></div><div role="navigation" class="navbox" aria-labelledby="維基百科-&amp;#123;zh-cn:帮助;_zh-hk:幫助;_zh-tw:說明;&amp;#125;-页面" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="collapsible-title navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r84265675"><style data-mw-deduplicate="TemplateStyles:r84244141">.mw-parser-output .navbar{display:inline;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:110%;margin:0 8em}.mw-parser-output .navbar-ct-mini{font-size:110%;margin:0 5em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:%E7%BB%B4%E5%9F%BA%E5%B8%AE%E5%8A%A9%E5%AF%BC%E8%88%AA" title="Template:维基帮助导航"><abbr title="查看该模板">查</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:%E7%BB%B4%E5%9F%BA%E5%B8%AE%E5%8A%A9%E5%AF%BC%E8%88%AA" title="Template talk:维基帮助导航"><abbr title="讨论该模板">论</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2/Template:%E7%BB%B4%E5%9F%BA%E5%B8%AE%E5%8A%A9%E5%AF%BC%E8%88%AA" title="Special:编辑页面/Template:维基帮助导航"><abbr title="编辑该模板">编</abbr></a></li></ul></div><div id="維基百科-&amp;#123;zh-cn:帮助;_zh-hk:幫助;_zh-tw:說明;&amp;#125;-页面" style="font-size:110%;margin:0 5em"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="Help:目录">維基百科帮助页面</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">论述指引</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="Wikipedia:关于">关于维基百科</a> <ul><li><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="Help:目录">帮助目录</a></li> <li><a href="/wiki/Wikipedia:%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94" title="Wikipedia:常见问题解答">常见问题</a></li></ul></li> <li><a href="/wiki/Wikipedia:%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4" title="Wikipedia:命名空间">命名空間</a> <ul><li><a href="/wiki/Wikipedia:%E6%8D%B7%E5%BE%91#偽命名空間" title="Wikipedia:捷徑">伪命名空间</a></li></ul></li> <li><a href="/wiki/Help:%E6%90%9C%E7%B4%A2" title="Help:搜索">搜索</a></li> <li><a href="/wiki/Help:%E7%AB%A0%E8%8A%82" title="Help:章节">章节</a></li> <li><a href="/wiki/Help:%E5%88%86%E7%B1%BB" title="Help:分类">分类</a></li> <li><a href="/wiki/Help:%E9%93%BE%E6%8E%A5" title="Help:链接">链接</a> <ul><li><a href="/wiki/Help:%E8%B7%A8%E8%AF%AD%E8%A8%80%E9%93%BE%E6%8E%A5" title="Help:跨语言链接">跨语言链接</a></li></ul></li> <li><a href="/wiki/Help:URL" title="Help:URL">URL</a></li> <li><a href="/wiki/Help:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="Help:随机页面">随机条目</a></li> <li><a href="/wiki/Help:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="Help:特殊页面">特殊页面</a></li> <li><a href="/wiki/Wikipedia:%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="Wikipedia:讨论页">讨论页</a></li> <li><a href="/wiki/Wikipedia:%E8%A1%8C%E5%8B%95%E5%AD%98%E5%8F%96" title="Wikipedia:行動存取">移动访问</a></li> <li><a href="/wiki/Help:%E5%85%B6%E4%BB%96%E8%AA%9E%E8%A8%80" title="Help:其他語言">其他语言</a></li> <li><a href="/wiki/Help:%E5%AD%B8%E7%94%9F%E5%B9%AB%E5%8A%A9" title="Help:學生幫助">学生帮助</a></li> <li><a href="/wiki/Help:%E5%90%84%E9%A1%9E%E6%9B%B8%E8%99%9F" title="Help:各類書號">ISBN</a></li> <li><a href="/wiki/Help:%E8%A7%84%E8%8C%83%E6%8E%A7%E5%88%B6" title="Help:规范控制">规范控制</a></li> <li><span class="nowrap"><a href="/wiki/Help:%E4%BF%A1%E6%81%AF%E6%A1%86" title="Help:信息框">信息框</a>(<a href="/wiki/Help:%E5%A6%82%E4%BD%95%E9%96%B1%E8%AE%80%E7%94%9F%E7%89%A9%E8%B3%87%E8%A8%8A%E6%A1%86" title="Help:如何閱讀生物資訊框">生物資訊框</a>)</span></li> <li><a href="/wiki/Help:%E5%88%86%E9%A1%9E%E5%96%AE%E5%85%83%E8%AD%98%E5%88%A5%E7%A2%BC" title="Help:分類單元識別碼">分類單元識別碼</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">账户相关</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E5%A6%82%E4%BD%95%E8%AE%BF%E9%97%AE%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91" title="Help:如何访问维基百科">访问</a></li> <li><a href="/wiki/Help:%E7%99%BB%E5%BD%95" title="Help:登录">登录</a></li> <li><a href="/wiki/Help:%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE" title="Help:参数设置">参数设置</a></li> <li><a href="/wiki/Help:%E7%94%A8%E6%88%B7%E6%A0%B7%E5%BC%8F" title="Help:用户样式">用户样式</a></li> <li><a href="/wiki/Help:%E7%94%A8%E6%88%B7%E9%A1%B5" title="Help:用户页">用户页</a></li> <li><a href="/wiki/Help:%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6%E7%A1%AE%E8%AE%A4" title="Help:电子邮件确认">电子邮件确认</a></li> <li><a href="/wiki/Help:%E6%88%91%E8%A2%AB%E5%B0%81%E7%A6%81%E4%BA%86" title="Help:我被封禁了">我被封禁了</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">追踪更改</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E9%A1%B5%E9%9D%A2%E5%8E%86%E5%8F%B2" title="Help:页面历史">页面历史</a></li> <li><a href="/wiki/Help:%E5%B7%AE%E5%BC%82" title="Help:差异">差异</a></li> <li><a href="/wiki/Help:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2" title="Help:链入页面">链入页面</a></li> <li><a href="/wiki/Help:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9" title="Help:链出更改">相关更改</a></li> <li><a href="/wiki/Help:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="Help:最近更改">最近更改</a></li> <li><a href="/wiki/Help:%E7%9B%91%E8%A7%86%E5%88%97%E8%A1%A8" title="Help:监视列表">监视列表</a></li> <li><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E6%91%98%E8%A6%81" title="Help:编辑摘要">编辑摘要</a></li> <li><a href="/wiki/Help:%E4%BD%BF%E7%94%A8%E8%80%85%E8%B2%A2%E7%8D%BB" title="Help:使用者貢獻">用户贡献</a></li> <li><a href="/wiki/Help:%E5%B0%8F%E4%BF%AE%E6%94%B9" title="Help:小修改">小修改</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;"><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E6%89%8B%E5%86%8C" title="Help:编辑手册">编辑问题</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E5%88%9B%E5%BB%BA%E6%96%B0%E6%9D%A1%E7%9B%AE" title="Help:创建新条目">创建新頁面</a></li> <li><a href="/wiki/Wikipedia:%E5%91%BD%E5%90%8D%E5%B8%B8%E8%A7%84" title="Wikipedia:命名常规">页面名称</a></li> <li><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2" title="Help:编辑页面">编辑页面</a></li> <li><a href="/wiki/Help:%E9%93%BE%E6%8E%A5%E9%A2%9C%E8%89%B2" title="Help:链接颜色">链接颜色</a></li> <li><a href="/wiki/Help:%E5%88%97%E8%A1%A8" title="Help:列表">列表</a></li> <li><a href="/wiki/Help:%E8%A1%A8%E6%A0%BC" title="Help:表格">表格</a></li> <li><a href="/wiki/Help:%E5%9B%BE%E5%83%8F" title="Help:图像">图像</a></li> <li>模板(<a href="/wiki/Help:%E6%A8%A1%E6%9D%BF" title="Help:模板">模板原理</a></li> <li><a href="/wiki/Category:%E7%B6%AD%E5%9F%BA%E7%99%BE%E7%A7%91%E6%A8%A1%E6%9D%BF" title="Category:維基百科模板">模板分类</a></li> <li><a href="/wiki/Wikipedia:%E6%A8%A1%E6%9D%BF%E6%B6%88%E6%81%AF" title="Wikipedia:模板消息">模板消息</a>)</li> <li><a href="/wiki/Help:HTML" title="Help:HTML">HTML</a></li> <li><a href="/wiki/Help:%E9%A1%B5%E9%9D%A2%E9%87%8D%E5%91%BD%E5%90%8D" title="Help:页面重命名">页面移动或重命名</a></li> <li><a href="/wiki/Help:%E7%89%B9%E6%AE%8A%E5%AD%97%E6%AF%8D%E8%88%87%E7%AC%A6%E8%99%9F" title="Help:特殊字母與符號">特殊字符</a></li> <li><a href="/wiki/Help:%E5%9B%9E%E9%80%80" title="Help:回退">回退</a></li> <li><span class="nowrap"><a href="/wiki/Help:%E8%84%9A%E6%B3%A8" title="Help:脚注">脚注</a>(<a href="/wiki/Help:%E5%A6%82%E4%BD%95%E5%BC%95%E7%94%A8%E6%9D%A5%E6%BA%90" title="Help:如何引用来源">如何引用来源</a></span></li> <li><span class="nowrap"><a href="/wiki/Help:%E5%8F%83%E8%80%83%E6%96%87%E7%8D%BB%E5%B7%A5%E5%85%B7" title="Help:參考文獻工具">相关工具</a>)</span></li> <li><a href="/wiki/Help:%E5%90%84%E9%A1%9E%E6%9B%B8%E8%99%9F" title="Help:各類書號">各類書號</a></li> <li><a href="/wiki/Wikipedia:%E7%AD%BE%E5%90%8D" title="Wikipedia:签名">签名</a></li> <li><a href="/wiki/Help:%E9%AB%98%E7%BA%A7%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2%E8%AF%AD%E6%B3%95" title="Help:高级字词转换语法">高级字词转换</a></li> <li><a href="/wiki/Wikipedia:%E6%B6%88%E6%AD%A7%E4%B9%89" title="Wikipedia:消歧义">消歧义</a></li> <li><a href="/wiki/Help:%E9%87%8D%E5%AE%9A%E5%90%91" title="Help:重定向">重定向</a></li> <li><a href="/wiki/Wikipedia:%E5%8F%AF%E8%A7%86%E5%8C%96%E7%BC%96%E8%BE%91%E5%99%A8/%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97" title="Wikipedia:可视化编辑器/用户指南">可视化编辑器</a></li> <li><a href="/wiki/Help:%E7%BF%BB%E8%AF%91" title="Help:翻译">翻译</a></li> <li><a href="/wiki/Help:%E6%9B%B4%E6%96%B0%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E7%BB%93%E6%9E%9C" title="Help:更新搜索引擎结果">更新搜尋引擎結果</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">進階功能</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" title="Help:魔术字">魔术字</a></li> <li><a href="/wiki/Help:%E9%BB%98%E8%AE%A4%E5%8F%82%E6%95%B0" title="Help:默认参数">默认参数</a></li> <li><a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数">解析器函数</a>(<a href="/wiki/Help:%E6%99%82%E9%96%93%E5%BA%8F%E8%99%9F" title="Help:時間序號">時間序號</a></li> <li><a href="/wiki/Help:%E9%9A%A8%E6%A9%9F%E9%A1%AF%E7%A4%BA" title="Help:隨機顯示">隨機功能</a>)</li> <li><a href="/wiki/Help:%E6%9B%BF%E6%8D%A2%E5%BC%95%E7%94%A8" title="Help:替换引用">替换引用</a></li> <li><a href="/wiki/Help:%E4%B9%90%E8%B0%B1" title="Help:乐谱">乐谱</a></li> <li><a class="mw-selflink selflink">计算</a></li> <li><a href="/wiki/Help:%E6%95%B0%E5%AD%A6%E5%85%AC%E5%BC%8F" title="Help:数学公式">数学公式</a></li> <li><a href="/wiki/Help:%E7%AE%80%E6%98%93%E6%97%B6%E9%97%B4%E7%BA%BF%E8%AF%AD%E6%B3%95" title="Help:简易时间线语法">简易时间线语法</a></li> <li><a href="/wiki/Help:%E8%BE%93%E5%85%A5%E6%A1%86" title="Help:输入框">输入框</a></li> <li><a href="/wiki/Help:%E8%87%AA%E8%A8%82%E9%A6%96%E9%A0%81" title="Help:自訂首頁">自定义首頁</a></li> <li><a href="/wiki/Help:%E5%B0%8F%E6%B8%AC" title="Help:小測">小測</a></li> <li><a href="/wiki/Help:%E6%93%B4%E5%B1%95" title="Help:擴展">擴展</a></li> <li><a href="/wiki/Help:LiquidThreads" title="Help:LiquidThreads"><span class="tmp-color" style="color:grey">LiquidThreads</span></a></li> <li><a href="/wiki/Wikipedia:%E7%B5%90%E6%A7%8B%E5%BC%8F%E8%A8%8E%E8%AB%96" title="Wikipedia:結構式討論"><span class="tmp-color" style="color:grey">結構式討論(Flow)</span></a></li> <li><a href="/wiki/Help:%E5%B1%82%E5%8F%A0%E6%A0%B7%E5%BC%8F%E8%A1%A8" title="Help:层叠样式表">层叠样式表(CSS)</a></li> <li><a href="/wiki/Wikipedia:%E6%A8%A1%E6%9D%BF%E6%95%B0%E6%8D%AE" title="Wikipedia:模板数据">模板数据</a></li> <li><a href="/wiki/Help:%E6%89%8B%E5%B7%A5%E5%AD%97%E8%A9%9E%E8%BD%89%E6%8F%9B" title="Help:手工字詞轉換">手工字词转换</a></li> <li><a href="/wiki/Help:%E4%B8%AD%E6%96%87%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91%E7%9A%84%E7%B9%81%E7%AE%80%E3%80%81%E5%9C%B0%E5%8C%BA%E8%AF%8D%E5%A4%84%E7%90%86" title="Help:中文维基百科的繁简、地区词处理">中文维基百科的繁简、地区词处理</a></li> <li><a href="/wiki/Help:%E6%91%BA%E7%96%8A%E9%A1%AF%E7%A4%BA" title="Help:摺疊顯示">折叠显示</a></li> <li><a href="/wiki/Wikipedia:%E9%93%81%E8%B7%AF%E7%B3%BB%E7%BB%9F%E6%A0%87%E7%A4%BA" title="Wikipedia:铁路系统标示">铁路系统标示</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">姊妹项目</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="https://meta.wikimedia.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="m:首页">元维基</a></li> <li><a href="https://zh.wikinews.org/wiki/Wikinews:%E5%B8%AE%E5%8A%A9" class="extiw" title="n:Wikinews:帮助">維基新聞</a></li> <li><a href="https://zh.wikiquote.org/wiki/Help:%E5%B8%AE%E5%8A%A9" class="extiw" title="q:Help:帮助">維基語錄</a></li> <li><a href="https://zh.wiktionary.org/wiki/Wiktionary:%E5%B8%AE%E5%8A%A9" class="extiw" title="wikt:Wiktionary:帮助">維基詞典</a></li> <li><a href="https://zh.wikibooks.org/wiki/Wikibooks:%E5%B8%AE%E5%8A%A9" class="extiw" title="b:Wikibooks:帮助">維基教科書</a></li> <li><a href="https://zh.wikisource.org/wiki/Help:%E7%9B%AE%E5%BD%95" class="extiw" title="s:Help:目录">維基文庫</a></li> <li><a href="https://commons.wikimedia.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="commons:首页">维基共享资源</a></li> <li><a href="https://species.wikimedia.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="wikispecies:首页">維基物種</a></li> <li><a href="https://zh.wikiversity.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="v:首页">維基學院</a></li> <li><a href="https://zh.wikivoyage.org/wiki/Wikivoyage:%E5%B8%AE%E5%8A%A9" class="extiw" title="voy:Wikivoyage:帮助">維基導遊</a></li> <li><a href="https://www.wikidata.org/wiki/Help:%E7%9B%AE%E5%BD%95" class="extiw" title="wikidata:Help:目录">维基数据</a></li> <li><a href="https://www.mediawiki.org/wiki/Help:Contents/zh" class="extiw" title="mw:Help:Contents/zh">MediaWiki</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li>另请参阅:<a href="/wiki/Template:Wikipedia_policies_and_guidelines" title="Template:Wikipedia policies and guidelines">方針與指引</a></li> <li><a href="/wiki/Template:%E6%A0%BC%E5%BC%8F%E6%89%8B%E5%86%8A" title="Template:格式手冊">格式手冊</a></li> <li><a href="/wiki/Wikipedia:%E6%9C%AF%E8%AF%AD%E8%A1%A8" title="Wikipedia:术语表">术语表</a></li> <li><a href="/wiki/Wikipedia:%E8%AF%BB%E8%80%85%E7%B4%A2%E5%BC%95" title="Wikipedia:读者索引">读者索引</a></li></ul> </div></td></tr></tbody></table></div> <ol class="references"> <li id="cite_note-divmod-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-divmod_1-0"><sup><b>1.0</b></sup></a> <a href="#cite_ref-divmod_1-1"><sup><b>1.1</b></sup></a></span> <span class="reference-text"><b><code>div</code></b> and <b><code>mod</code></b> are different from all programming languages, see <a href="https://phabricator.wikimedia.org/T8068" class="extiw" title="phab:T8068">phab:T8068</a></span> </li> </ol> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐7649cfcddd‐8vndn Cached time: 20241127125816 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.094 seconds CPU time usage: 0.664 seconds Real time usage: 0.790 seconds Preprocessor visited node count: 5115/1000000 Post‐expand include size: 75966/2097152 bytes Template argument size: 3367/2097152 bytes Highest expansion depth: 16/100 Expensive parser function count: 1/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 14799/5000000 bytes Lua time usage: 0.224/10.000 seconds Lua memory usage: 3909724/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 561.995 1 -total 25.14% 141.307 147 Template:Xpsoc 16.37% 91.980 82 Template:Xpettb 12.58% 70.685 1 Template:H-f_Help 11.92% 66.986 53 Template:Xpettu 11.60% 65.186 1 Template:Navbox 11.29% 63.450 1 Template:Other_uses 10.85% 60.976 1 Template:Hatnote 7.87% 44.234 31 Template:Nts 7.83% 44.016 1 Template:Root --> <!-- Saved in parser cache with key zhwiki:pcache:280150:|#|:idhash:canonical!zh and timestamp 20241127125816 and revision id 77357973. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">检索自“<a dir="ltr" href="https://zh.wikipedia.org/w/index.php?title=Help:计算&amp;oldid=77357973">https://zh.wikipedia.org/w/index.php?title=Help:计算&amp;oldid=77357973</a>”</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:%E9%A1%B5%E9%9D%A2%E5%88%86%E7%B1%BB" title="Special:页面分类">分类</a>:​<ul><li><a href="/wiki/Category:%E5%B8%AE%E5%8A%A9%E6%96%87%E6%A1%A3" title="Category:帮助文档">帮助文档</a></li><li><a href="/wiki/Category:%E7%B6%AD%E5%9F%BA%E7%99%BE%E7%A7%91%E6%96%87%E5%AD%97%E5%B9%AB%E5%8A%A9%E6%96%87%E6%AA%94" title="Category:維基百科文字幫助文檔">維基百科文字幫助文檔</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> 本页面最后修订于2023年5月21日 (星期日) 11:48。</li> <li id="footer-info-copyright">本站的全部文字在<a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/deed.zh">知识共享 署名-相同方式共享 4.0协议</a>之条款下提供,附加条款亦可能应用。(请参阅<a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">使用条款</a>)<br /> Wikipedia&#174;和维基百科标志是<a rel="nofollow" class="external text" href="https://wikimediafoundation.org/zh">维基媒体基金会</a>的注册商标;维基&#8482;是维基媒体基金会的商标。<br /> 维基媒体基金会是按美国国內稅收法501(c)(3)登记的<a class="external text" href="https://donate.wikimedia.org/wiki/Special:MyLanguage/Tax_deductibility">非营利慈善机构</a>。<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">隐私政策</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E">关于维基百科</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E">免责声明</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">行为准则</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">开发者</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/zh.wikipedia.org">统计</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie声明</a></li> <li id="footer-places-mobileview"><a href="//zh.m.wikipedia.org/w/index.php?title=Help:%E8%AE%A1%E7%AE%97&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">手机版视图</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-6df7948d6c-5jwxg","wgBackendResponseTime":182,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-样例","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-詳細運算子、函數、常數說明","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-错误","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-错误的样例-错误","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-误差","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-注意内部数字表示","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-参见","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.094"},"limitreport":{"cputime":"0.664","walltime":"0.790","ppvisitednodes":{"value":5115,"limit":1000000},"postexpandincludesize":{"value":75966,"limit":2097152},"templateargumentsize":{"value":3367,"limit":2097152},"expansiondepth":{"value":16,"limit":100},"expensivefunctioncount":{"value":1,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":14799,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 561.995 1 -total"," 25.14% 141.307 147 Template:Xpsoc"," 16.37% 91.980 82 Template:Xpettb"," 12.58% 70.685 1 Template:H-f_Help"," 11.92% 66.986 53 Template:Xpettu"," 11.60% 65.186 1 Template:Navbox"," 11.29% 63.450 1 Template:Other_uses"," 10.85% 60.976 1 Template:Hatnote"," 7.87% 44.234 31 Template:Nts"," 7.83% 44.016 1 Template:Root"]},"scribunto":{"limitreport-timeusage":{"value":"0.224","limit":"10.000"},"limitreport-memusage":{"value":3909724,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-7649cfcddd-8vndn","timestamp":"20241127125816","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10