{"id":1128455,"date":"2025-01-08T20:20:41","date_gmt":"2025-01-08T12:20:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128455.html"},"modified":"2025-01-08T20:20:43","modified_gmt":"2025-01-08T12:20:43","slug":"python%e5%a6%82%e4%bd%95%e5%8e%bb%e9%99%a4%e5%b0%8f%e6%95%b0%e7%82%b9%e5%90%8e%e4%b8%a4%e4%bd%8d","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1128455.html","title":{"rendered":"python\u5982\u4f55\u53bb\u9664\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25095149\/803e0559-8818-4857-8903-a5a57d07b9b6.webp\" alt=\"python\u5982\u4f55\u53bb\u9664\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\" \/><\/p>\n<p><p> <strong>Python \u53bb\u9664\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3001\u4f7f\u7528 <code>round()<\/code> \u51fd\u6570\u3001\u4f7f\u7528 <code>math.trunc()<\/code> \u51fd\u6570\u3001\u4f7f\u7528 <code>decimal<\/code> \u6a21\u5757\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316<\/strong> \u662f\u6700\u5e38\u89c1\u4e14\u7075\u6d3b\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u63a7\u5236\u5c0f\u6570\u70b9\u540e\u7684\u4f4d\u6570\uff0c\u540c\u65f6\u4fdd\u8bc1\u8f93\u51fa\u683c\u5f0f\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\uff0c\u53ef\u4ee5\u786e\u4fdd\u6570\u5b57\u5728\u8f6c\u6362\u6210\u5b57\u7b26\u4e32\u540e\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u3002\u5177\u4f53\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 3.14159<\/p>\n<p>formatted_num = &quot;{:.2f}&quot;.format(num)<\/p>\n<p>print(formatted_num)  # \u8f93\u51fa: 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u9002\u7528\u4e8e\u56db\u820d\u4e94\u5165\uff0c\u540c\u65f6\u5728\u5904\u7406\u663e\u793a\u7684\u7cbe\u5ea6\u95ee\u9898\u65f6\u4e5f\u975e\u5e38\u6709\u7528\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u6bcf\u79cd\u65b9\u6cd5\u7684\u5177\u4f53\u5e94\u7528\u4ee5\u53ca\u5176\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316<\/h2>\n<\/p>\n<p><h3>1\u3001\u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\uff0c\u53ef\u4ee5\u901a\u8fc7 <code>{:.2f}<\/code> \u8fd9\u6837\u7684\u683c\u5f0f\u63a7\u5236\u7b26\u6765\u6307\u5b9a\u5c0f\u6570\u70b9\u540e\u7684\u4f4d\u6570\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 3.14159<\/p>\n<p>formatted_num = &quot;{:.2f}&quot;.format(num)<\/p>\n<p>print(formatted_num)  # \u8f93\u51fa: 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>{:.2f}<\/code> \u8868\u793a\u5c06\u6570\u5b57\u683c\u5f0f\u5316\u4e3a\u5e26\u6709\u4e24\u4f4d\u5c0f\u6570\u7684\u5b57\u7b26\u4e32\u3002<code>:.2f<\/code> \u4e2d\u7684 <code>2<\/code> \u8868\u793a\u5c0f\u6570\u70b9\u540e\u7684\u4f4d\u6570\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u4f18\u70b9\u548c\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u8bed\u6cd5\u76f4\u89c2\uff0c\u5bb9\u6613\u7406\u89e3\u548c\u4f7f\u7528\u3002<\/li>\n<li><strong>\u7075\u6d3b\u6027\u9ad8<\/strong>\uff1a\u53ef\u4ee5\u63a7\u5236\u8f93\u51fa\u683c\u5f0f\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u573a\u666f\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u6027\u80fd\u95ee\u9898<\/strong>\uff1a\u5728\u9700\u8981\u8fdb\u884c\u5927\u91cf\u6570\u636e\u5904\u7406\u65f6\uff0c\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u7684\u6027\u80fd\u53ef\u80fd\u4e0d\u5982\u5176\u4ed6\u65b9\u6cd5\u3002<\/li>\n<\/ul>\n<p><h2>\u4e8c\u3001\u4f7f\u7528 <code>round()<\/code> \u51fd\u6570<\/h2>\n<\/p>\n<p><h3>1\u3001\u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p><code>round()<\/code> \u51fd\u6570\u53ef\u4ee5\u5c06\u6570\u5b57\u56db\u820d\u4e94\u5165\u5230\u6307\u5b9a\u7684\u5c0f\u6570\u4f4d\u6570\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 3.14159<\/p>\n<p>rounded_num = round(num, 2)<\/p>\n<p>print(rounded_num)  # \u8f93\u51fa: 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>round(num, 2)<\/code> \u8868\u793a\u5c06 <code>num<\/code> \u56db\u820d\u4e94\u5165\u5230\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u4f18\u70b9\u548c\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u7b80\u5355\u76f4\u89c2<\/strong>\uff1a\u51fd\u6570\u8c03\u7528\u7684\u8bed\u6cd5\u7b80\u5355\u6613\u61c2\u3002<\/li>\n<li><strong>\u6027\u80fd\u8f83\u597d<\/strong>\uff1a\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c<code>round()<\/code> \u7684\u6027\u80fd\u4f18\u4e8e\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u65e0\u6cd5\u63a7\u5236\u8f93\u51fa\u683c\u5f0f<\/strong>\uff1a<code>round()<\/code> \u8fd4\u56de\u7684\u662f\u6570\u5b57\u7c7b\u578b\uff0c\u5982\u679c\u9700\u8981\u7279\u5b9a\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u8f93\u51fa\uff0c\u8fd8\u9700\u8981\u989d\u5916\u7684\u8f6c\u6362\u3002<\/li>\n<\/ul>\n<p><h2>\u4e09\u3001\u4f7f\u7528 <code>math.trunc()<\/code> \u51fd\u6570<\/h2>\n<\/p>\n<p><h3>1\u3001\u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p><code>math.trunc()<\/code> \u51fd\u6570\u53ef\u4ee5\u622a\u65ad\u5c0f\u6570\u90e8\u5206\uff0c\u53ea\u4fdd\u7559\u6574\u6570\u90e8\u5206\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>num = 3.14159<\/p>\n<p>truncated_num = math.trunc(num * 100) \/ 100<\/p>\n<p>print(truncated_num)  # \u8f93\u51fa: 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>math.trunc(num * 100) \/ 100<\/code> \u8868\u793a\u5c06 <code>num<\/code> \u653e\u5927 100 \u500d\u540e\u622a\u65ad\u5c0f\u6570\u90e8\u5206\uff0c\u7136\u540e\u518d\u7f29\u5c0f 100 \u500d\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u4f18\u70b9\u548c\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u7cbe\u5ea6\u63a7\u5236<\/strong>\uff1a\u53ef\u4ee5\u7cbe\u786e\u63a7\u5236\u5c0f\u6570\u70b9\u540e\u7684\u4f4d\u6570\u3002<\/li>\n<li><strong>\u6027\u80fd\u8f83\u597d<\/strong>\uff1a\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c<code>math.trunc()<\/code> \u7684\u6027\u80fd\u4f18\u4e8e\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u5b9e\u73b0\u590d\u6742<\/strong>\uff1a\u76f8\u6bd4 <code>round()<\/code> \u548c\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\uff0c\u4ee3\u7801\u7565\u663e\u590d\u6742\u3002<\/li>\n<li><strong>\u6f5c\u5728\u8bef\u5dee<\/strong>\uff1a\u5728\u5904\u7406\u6d6e\u70b9\u6570\u65f6\uff0c\u53ef\u80fd\u4f1a\u5f15\u5165\u5fae\u5c0f\u7684\u8bef\u5dee\u3002<\/li>\n<\/ul>\n<p><h2>\u56db\u3001\u4f7f\u7528 <code>decimal<\/code> \u6a21\u5757<\/h2>\n<\/p>\n<p><h3>1\u3001\u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p><code>decimal<\/code> \u6a21\u5757\u63d0\u4f9b\u4e86\u9ad8\u7cbe\u5ea6\u7684\u5341\u8fdb\u5236\u6d6e\u70b9\u6570\u8fd0\u7b97\uff0c\u53ef\u4ee5\u7cbe\u786e\u63a7\u5236\u5c0f\u6570\u70b9\u540e\u7684\u4f4d\u6570\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from decimal import Decimal, ROUND_DOWN<\/p>\n<p>num = Decimal(&#39;3.14159&#39;)<\/p>\n<p>rounded_num = num.quantize(Decimal(&#39;0.00&#39;), rounding=ROUND_DOWN)<\/p>\n<p>print(rounded_num)  # \u8f93\u51fa: 3.14<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>num.quantize(Decimal(&#39;0.00&#39;), rounding=ROUND_DOWN)<\/code> \u8868\u793a\u5c06 <code>num<\/code> \u56db\u820d\u4e94\u5165\u5230\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\uff0c\u5e76\u4e14\u4f7f\u7528 <code>ROUND_DOWN<\/code> \u65b9\u6cd5\u8fdb\u884c\u820d\u5165\u3002<\/p>\n<\/p>\n<p><h3>2\u3001\u4f18\u70b9\u548c\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u9ad8\u7cbe\u5ea6<\/strong>\uff1a\u53ef\u4ee5\u5904\u7406\u4efb\u610f\u7cbe\u5ea6\u7684\u5341\u8fdb\u5236\u6d6e\u70b9\u6570\u3002<\/li>\n<li><strong>\u7075\u6d3b\u6027\u9ad8<\/strong>\uff1a\u63d0\u4f9b\u591a\u79cd\u820d\u5165\u65b9\u5f0f\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u573a\u666f\u3002<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u6027\u80fd\u95ee\u9898<\/strong>\uff1a\u76f8\u5bf9\u4e8e\u5176\u4ed6\u65b9\u6cd5\uff0c<code>decimal<\/code> \u6a21\u5757\u7684\u8fd0\u7b97\u6027\u80fd\u8f83\u4f4e\u3002<\/li>\n<li><strong>\u4f7f\u7528\u590d\u6742<\/strong>\uff1a\u76f8\u6bd4 <code>round()<\/code> \u548c\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\uff0c<code>decimal<\/code> \u6a21\u5757\u7684\u4f7f\u7528\u7565\u663e\u590d\u6742\u3002<\/li>\n<\/ul>\n<p><h2>\u4e94\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u9700\u6c42\u548c\u573a\u666f\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u5b57\u7b26\u4e32\u683c\u5f0f\u5316<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u8f93\u51fa\u7279\u5b9a\u683c\u5f0f\u5b57\u7b26\u4e32\u7684\u573a\u666f\uff0c\u7b80\u5355\u6613\u7528\u3002<\/li>\n<li><strong><code>round()<\/code> \u51fd\u6570<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u7b80\u5355\u56db\u820d\u4e94\u5165\u7684\u573a\u666f\uff0c\u6027\u80fd\u8f83\u597d\u3002<\/li>\n<li><strong><code>math.trunc()<\/code> \u51fd\u6570<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u622a\u65ad\u5c0f\u6570\u90e8\u5206\u7684\u573a\u666f\uff0c\u53ef\u4ee5\u7cbe\u786e\u63a7\u5236\u5c0f\u6570\u70b9\u540e\u7684\u4f4d\u6570\u3002<\/li>\n<li><strong><code>decimal<\/code> \u6a21\u5757<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u9ad8\u7cbe\u5ea6\u5341\u8fdb\u5236\u6d6e\u70b9\u6570\u8fd0\u7b97\u7684\u573a\u666f\uff0c\u7075\u6d3b\u6027\u9ad8\u3002<\/li>\n<\/ul>\n<p><p>\u5e0c\u671b\u901a\u8fc7\u5bf9\u8fd9\u51e0\u79cd\u65b9\u6cd5\u7684\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u80fd\u591f\u5e2e\u52a9\u4f60\u5728\u4e0d\u540c\u573a\u666f\u4e0b\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u6765\u53bb\u9664\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u6d6e\u70b9\u6570\u8f6c\u6362\u4e3a\u6574\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>int()<\/code>\u51fd\u6570\u5c06\u6d6e\u70b9\u6570\u8f6c\u6362\u4e3a\u6574\u6570\uff0c\u76f4\u63a5\u53bb\u9664\u5c0f\u6570\u90e8\u5206\u3002\u4f8b\u5982\uff0c<code>int(3.14)<\/code>\u5c06\u8fd4\u56de<code>3<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u4f1a\u622a\u65ad\u5c0f\u6570\u90e8\u5206\uff0c\u800c\u4e0d\u662f\u56db\u820d\u4e94\u5165\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u6765\u53bb\u9664\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\uff1f<\/strong><br \/>\u786e\u5b9e\u53ef\u4ee5\u3002\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u4fdd\u7559\u7684\u5c0f\u6570\u4f4d\u6570\u3002\u901a\u8fc7<code>&quot;{:.0f}&quot;.format(3.14159)<\/code>\uff0c\u53ef\u4ee5\u5c06\u7ed3\u679c\u683c\u5f0f\u5316\u4e3a<code>&quot;3&quot;<\/code>\uff0c\u800c\u4f7f\u7528<code>&quot;{:.2f}&quot;.format(3.14159)<\/code>\u5219\u4f1a\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\uff0c\u5f97\u5230<code>&quot;3.14&quot;<\/code>\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u4f7f\u7528round()\u51fd\u6570\u6765\u5904\u7406\u5c0f\u6570\u4f4d\uff1f<\/strong><br \/><code>round()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u56db\u820d\u4e94\u5165\u6d6e\u70b9\u6570\u3002\u4f7f\u7528<code>round(3.14159, 2)<\/code>\u5c06\u8fd4\u56de<code>3.14<\/code>\uff0c\u800c<code>round(3.14159)<\/code>\u5219\u4f1a\u8fd4\u56de<code>3<\/code>\uff0c\u76f4\u63a5\u53bb\u9664\u5c0f\u6570\u90e8\u5206\u3002\u5982\u679c\u5e0c\u671b\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\uff0c\u53ef\u4ee5\u5728<code>round()<\/code>\u4e2d\u6307\u5b9a\u5c0f\u6570\u4f4d\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python \u53bb\u9664\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3001\u4f7f\u7528 round() \u51fd\u6570\u3001\u4f7f\u7528 math.tru [&hellip;]","protected":false},"author":3,"featured_media":1128459,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128455"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1128455"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128455\/revisions"}],"predecessor-version":[{"id":1128462,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128455\/revisions\/1128462"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1128459"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1128455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1128455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1128455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}