aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html56
1 files changed, 3 insertions, 53 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html
index 705c63b712..69b12ad433 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html
@@ -22,9 +22,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/parseFloat
<h3 id="返回值">返回值</h3>
-<dl>
- <dd>给定值被解析成浮点数,如果无法被解析成浮点数,则返回<code>NaN</code></dd>
-</dl>
+<p>给定值被解析成浮点数,如果无法被解析成浮点数,则返回<code>NaN</code></p>
<h2 id="描述">描述</h2>
@@ -49,57 +47,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/parseFloat
</tbody>
</table>
-<h2 id="Browser_compatibility">浏览器兼容性</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div>
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat}}
<h2 id="See_also">相关链接</h2>