在任意輸入盒內打入數字,就會自動顯示其他各單位換算結果 。 身為StarTrek Fan,所以我還特別加了光速(Light Speed)的換算。 (雖然實用性不高 :-P) <center> <table style="border: 3px double #153; background-color: #f7f3df" cellPadding="6" width="580" align="center"> <tr> <td style="text-align: center"><font color="#ff0080" size="5"><b>單位換算</b></font></td> </tr> <tr> <td style="font-size: 9pt; color: #10f; text-align: center"> 在任意輸入盒內打入數字,就會自動顯示其他各單位換算結果。</td> </tr> </table> <form style="margin-top: 6; margin-bottom: 6"> <table cellSpacing="0" cellPadding="4" border="1" style="background-color: #f7f3df"> <tr> <td class="tt" colSpan="5">速度單位換算</td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">公里/時</td> <td style="text-align: center">公尺/時</td> <td style="text-align: center">公尺/分</td> <td style="text-align: center">公尺/秒</td> <td style="text-align: center">英哩/時</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" E2.value=0 * this.value; E3.value=16.6667 * this.value; E4.value=0.27778 * this.value; E5.value=0.62138 * this.value; E6.value=54.6815 * this.value; E7.value=0.9113 * this.value; E8.value=9.2657452809559E-10 * this.value; E9.value=0 * this.value;" size="10" name="E1"></td> <td style="text-align: center"> <input onkeyup=" E1.value=0 * this.value; E3.value=0 * this.value; E4.value=0 * this.value; E5.value=0 * this.value; E6.value=0 * this.value; E7.value=0 * this.value; E8.value=0 * this.value; E9.value=0 * this.value;" size="10" name="E2"></td> <td style="text-align: center"> <input onkeyup=" E1.value=0.06 * this.value; E2.value=0 * this.value; E4.value=0.016667 * this.value; E5.value=0.03728 * this.value; E6.value=3.28091 * this.value; E7.value=0.05468 * this.value; E8.value=0 * this.value; E9.value=0 * this.value;" size="10" name="E3"></td> <td style="text-align: center"> <input onkeyup=" E1.value=3.6 * this.value; E2.value=0 * this.value; E3.value=60 * this.value; E5.value=2.23698 * this.value; E6.value=196.854 * this.value; E7.value=3.28091 * this.value; E8.value=3.3356683011441E-09 * this.value; E9.value=0 * this.value;" size="10" name="E4"></td> <td style="text-align: center"> <input onkeyup=" E1.value=1.60931 * this.value; E2.value=0 * this.value; E3.value=26.8215 * this.value; E4.value=0.44703 * this.value; E6.value=88 * this.value; E7.value=1.46667 * this.value; E8.value=1.4911771573323E-09 * this.value; E9.value=0 * this.value;" size="10" name="E5"></td> </tr> <tr> <td align="middle" bgColor="#e3ffe3" style="text-align: center">英呎/分</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">英呎/秒 </td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">光速</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">-</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">-</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" E1.value=0.018287 * this.value; E2.value=0 * this.value; E3.value=0.30479 * this.value; E4.value=0.00508 * this.value; E5.value=0.011364 * this.value; E7.value=0.016667 * this.value; E8.value=0 * this.value; E9.value=0 * this.value;" size="10" name="E6"></td> <td style="text-align: center"> <input onkeyup=" E1.value=1.09725 * this.value; E2.value=0 * this.value; E3.value=18.2874 * this.value; E4.value=0.30479 * this.value; E5.value=0.6818 * this.value; E6.value=60 * this.value; E8.value=0 * this.value; E9.value=0 * this.value;" size="10" name="E7"></td> <td style="text-align: center"> <input onkeyup=" E1.value=1079244000 * this.value; E2.value=0 * this.value; E3.value=0 * this.value; E4.value=299790000 * this.value; E5.value=670611131 * this.value; E6.value=0 * this.value; E7.value=0 * this.value; E9.value=0 * this.value;" size="10" name="E8"></td> <td style="text-align: center"> <input onkeyup=" E1.value=0 * this.value; E2.value=0 * this.value; E3.value=0 * this.value; E4.value=0 * this.value; E5.value=0 * this.value; E6.value=0 * this.value; E7.value=0 * this.value; E8.value=0 * this.value;" size="10" name="E9"></td> <td style="text-align: center">-</td> </tr> <tr> <td colSpan="5" style="text-align: center"> <input type="reset" value="清除"></td> </tr> </table> <hr> <form style="margin-top: 6; margin-bottom: 6"> <table cellSpacing="0" cellPadding="4" border="1" style="background-color: #f7f3df"> <tr> <td class="tt" colSpan="5">長度單位換算</td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">公 分</td> <td style="text-align: center">公 尺</td> <td style="text-align: center">公 里</td> <td style="text-align: center">市 尺</td> <td style="text-align: center">臺 尺</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" A2.value=0.01 * this.value; A3.value=0.00001 * this.value; A4.value=0.03 * this.value; A5.value=0.033 * this.value; A6.value=0.3937 * this.value; A7.value=0.0328 * this.value; A8.value=0.0109 * this.value" size="10" name="A1"></td> <td style="text-align: center"> <input onkeyup=" A1.value=100 * this.value; A3.value=0.001 * this.value; A4.value=3 * this.value; A5.value=3.3 * this.value; A6.value=39.37 * this.value; A7.value=3.28084 * this.value; A8.value=1.09361 * this.value; A9.value=0.00062 * this.value; AA.value=0.00054 * this.value;" size="10" name="A2"></td> <td style="text-align: center"> <input onkeyup=" A1.value=100000 * this.value; A2.value=1000 * this.value; A4.value=3000 * this.value; A5.value=3300 * this.value; A6.value=39370 * this.value; A7.value=3280.84 * this.value; A8.value=1093.6 * this.value; A9.value=0.62137 * this.value; AA.value=0.53996 * this.value;" size="10" name="A3"></td> <td style="text-align: center"> <input onkeyup=" A1.value=33.3333 * this.value; A2.value=0.33333 * this.value; A3.value=0.00033 * this.value; A5.value=1.1 * this.value; A6.value=13.1233 * this.value; A7.value=1.09361 * this.value; A8.value=0.36454 * this.value; A9.value=0.00021 * this.value; AA.value=0.00018 * this.value;" size="10" name="A4"></td> <td style="text-align: center"> <input onkeyup=" A2.value=0.30303 * this.value; A3.value=0.00030 * this.value; A4.value=0.90909 * this.value; A1.value=30.3030 * this.value; A6.value=11.9303 * this.value; A7.value=0.99419 * this.value; A8.value=0.33140 * this.value; A9.value=0.00019 * this.value; AA.value=0.00016 * this.value;" size="10" name="A5"></td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">吋</td> <td style="text-align: center">呎</td> <td style="text-align: center">碼</td> <td style="text-align: center">哩</td> <td style="text-align: center">國際浬</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" A2.value=0.0254 * this.value; A3.value=0.00003 * this.value; A4.value=0.07620 * this.value; A5.value=0.08382 * this.value; A1.value=2.54 * this.value; A7.value=0.08333 * this.value; A8.value=0.02778 * this.value; A9.value=0.00002 * this.value; AA.value=0.00001 * this.value;" size="10" name="A6"></td> <td style="text-align: center"> <input onkeyup=" A2.value=0.30480 * this.value; A3.value=0.00031 * this.value; A4.value=0.91440 * this.value; A5.value=1.00584 * this.value; A6.value=12 * this.value; A1.value=30.4801 * this.value; A8.value=0.33333 * this.value; A9.value=0.00019 * this.value; AA.value=0.00017 * this.value;" size="10" name="A7"></td> <td style="text-align: center"> <input onkeyup=" A2.value=0.91440 * this.value; A3.value=0.00091 * this.value; A4.value=2.74321 * this.value; A5.value=3.01752 * this.value; A6.value=36 * this.value; A7.value=3 * this.value; A1.value=91.4402 * this.value; A9.value=0.00057 * this.value; AA.value=0.00049 * this.value;" size="10" name="A8"></td> <td style="text-align: center"> <input onkeyup=" A2.value=1609.35 * this.value; A3.value=1.60935 * this.value; A4.value=4828.04 * this.value; A5.value=5310.83 * this.value; A6.value=63360 * this.value; A7.value=5280 * this.value; A8.value=1760 * this.value; A1.value=160935 * this.value; AA.value=0.86898 * this.value;" size="10" name="A9"></td> <td style="text-align: center"> <input onkeyup=" A2.value=1852 * this.value; A3.value=1.852 * this.value; A4.value=5556.01 * this.value; A5.value=6111.6 * this.value; A6.value=72913.2 * this.value; A7.value=6076.1 * this.value; A8.value=2025.37 * this.value; A9.value=1.15016 * this.value; A1.value=185200 * this.value;" size="10" name="AA"></td> </tr> <tr> <td colSpan="5" style="text-align: center"> <input type="reset" value="清除"></td> </tr> </table> </form> <hr SIZE="1"> <form style="margin-top: 6; margin-bottom: 6"> <table cellSpacing="0" cellPadding="4" border="1" style="background-color: #f7f3df"> <tr> <td class="tt" colSpan="5">容量單位換算</td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">公 撮</td> <td style="text-align: center">公 升</td> <td style="text-align: center">英液盎司</td> <td style="text-align: center">美液盎司</td> <td style="text-align: center">美液品脫</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" B2.value=0.001 * this.value; B3.value=0.0352 * this.value; B4.value=0.03382 * this.value; B5.value=0.00211 * this.value; B6.value=0.00022 * this.value; B7.value=0.00026 * this.value; B8.value=0.00003 * this.value; B9.value=0.00003 * this.value;" size="10" name="B1"></td> <td style="text-align: center"> <input onkeyup=" B1.value=1000 * this.value; B3.value=35.1960 * this.value; B4.value=38.8148 * this.value; B5.value=2.11342 * this.value; B6.value=0.21998 * this.value; B7.value=0.26418 * this.value; B8.value=0.0275 * this.value; B9.value=0.02838 * this.value;" size="10" name="B2"></td> <td style="text-align: center"> <input onkeyup=" B1.value=28.4123 * this.value; B2.value=0.02841 * this.value; B4.value=0.96075 * this.value; B5.value=0.06005 * this.value; B6.value=0.00751 * this.value; B7.value=0.00078 * this.value; B8.value=0.00078 * this.value; B9.value=0.00081 * this.value;" size="10" name="B3"></td> <td style="text-align: center"> <input onkeyup=" B1.value=29.5729 * this.value; B2.value=0.02957 * this.value; B3.value=1.04086 * this.value; B5.value=0.0625 * this.value; B6.value=0.00651 * this.value; B7.value=0.00781 * this.value; B8.value=0.00081 * this.value; B9.value=0.00084 * this.value;" size="10" name="B4"></td> <td style="text-align: center"> <input onkeyup=" B1.value=473.167 * this.value; B2.value=0.47317 * this.value; B3.value=16.6586 * this.value; B4.value=16 * this.value; B6.value=0.10409 * this.value; B7.value=0.1250 * this.value; B8.value=0.01301 * this.value; B9.value=0.01343 * this.value;" size="10" name="B5"></td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">英加侖</td> <td style="text-align: center">美加侖</td> <td style="text-align: center">英蒲式耳</td> <td style="text-align: center">美蒲式耳</td> <td style="text-align: center">-</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" B1.value=4545.96 * this.value; B2.value=4.54596 * this.value; B3.value=160 * this.value; B4.value=153.721 * this.value; B5.value=9.60752 * this.value; B7.value=1.20094 * this.value; B8.value=0.1250 * this.value; B9.value=0.12901 * this.value;" size="10" name="B6"></td> <td style="text-align: center"> <input onkeyup=" B1.value=3785.33 * this.value; B2.value=3.78533 * this.value; B3.value=133.229 * this.value; B4.value=128 * this.value; B5.value=8 * this.value; B6.value=0.83268 * this.value; B8.value=0.10409 * this.value; B9.value=0.10745 * this.value;" size="10" name="B7"></td> <td style="text-align: center"> <input onkeyup=" B1.value=3636.77 * this.value; B2.value=36.3637 * this.value; B3.value=1280 * this.value; B4.value=1229.76 * this.value; B5.value=76.8602 * this.value; B6.value=8 * this.value; B7.value=9.60453 * this.value; B9.value=1.02921 * this.value;" size="10" name="B8"></td> <td style="text-align: center"> <input onkeyup=" B1.value=35238.3 * this.value; B2.value=35.2383 * this.value; B3.value=1240.25 * this.value; B4.value=1191.57 * this.value; B5.value=74.4733 * this.value; B6.value=7.75156 * this.value; B7.value=9.30917 * this.value; B8.value=0.96895 * this.value;" size="10" name="B9"></td> <td style="text-align: center">-</td> </tr> <tr> <td colSpan="5" style="text-align: center"> <input type="reset" value="清除"></td> </tr> </table> </form> <hr SIZE="1"> <form style="margin-top: 6; margin-bottom: 6"> <table cellSpacing="0" cellPadding="4" border="1" style="background-color: #f7f3df"> <tr> <td class="tt" colSpan="5">重量單位換算</td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">公 克</td> <td style="text-align: center">公 斤</td> <td style="text-align: center">公 噸</td> <td style="text-align: center">市 斤</td> <td style="text-align: center">臺 兩</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" C2.value=0.001 * this.value; C4.value=0.002 * this.value; C5.value=0.02667 * this.value; C6.value=0.00167 * this.value; C7.value=0.03527 * this.value; C8.value=0.00221 * this.value;" size="10" name="C1"></td> <td style="text-align: center"> <input onkeyup=" C1.value=1000 * this.value; C3.value=0.001 * this.value; C4.value=2 * this.value; C5.value=26.6667 * this.value; C6.value=1.66667 * this.value; C7.value=35.2740 * this.value; C8.value=2.20462 * this.value; C9.value=0.00098 * this.value; CA.value=0.00110 * this.value;" size="10" name="C2"></td> <td style="text-align: center"> <input onkeyup=" C2.value=1000 * this.value; C4.value=2000 * this.value; C5.value=26666.7 * this.value; C6.value=1666.67 * this.value; C7.value=35274 * this.value; C8.value=2204.62 * this.value; C9.value=0.98421 * this.value; CA.value=1.10231 * this.value;" size="10" name="C3"></td> <td style="text-align: center"> <input onkeyup=" C1.value=500 * this.value; C2.value=0.5 * this.value; C3.value=0.0005 * this.value; C5.value=13.333 * this.value; C6.value=0.833 * this.value; C7.value=17.637 * this.value; C8.value=1.10231 * this.value; C9.value=0.00049 * this.value; CA.value=0.00055 * this.value;" size="10" name="C4"></td> <td style="text-align: center"> <input onkeyup=" C1.value=37.5 * this.value; C2.value=0.0375 * this.value; C3.value=0.00004 * this.value; C4.value=0.075 * this.value; C6.value=0.0625 * this.value; C7.value=1.32277 * this.value; C8.value=0.08267 * this.value; C9.value=0.00004 * this.value; CA.value=0.00004 * this.value;" size="10" name="C5"></td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">臺 斤</td> <td style="text-align: center">盎 司</td> <td style="text-align: center">磅</td> <td style="text-align: center">長 噸</td> <td style="text-align: center">短 噸</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" C1.value=600 * this.value; C2.value=0.6 * this.value; C3.value=0.0006 * this.value; C4.value=1.2 * this.value; C5.value=16 * this.value; C7.value=21.1644 * this.value; C8.value=1.32277 * this.value; C9.value=0.00059 * this.value; CA.value=0.00066 * this.value;" size="10" name="C6"></td> <td style="text-align: center"> <input onkeyup=" C1.value=28.3495 * this.value; C2.value=0.02835 * this.value; C3.value=0.00003 * this.value; C4.value=0.0567 * this.value; C5.value=0.75599 * this.value; C6.value=0.04725 * this.value; C8.value=0.0625 * this.value; C9.value=0.00003 * this.value; CA.value=0.00003 * this.value;" size="10" name="C7"></td> <td style="text-align: center"> <input onkeyup=" C1.value=453.592 * this.value; C2.value=0.45359 * this.value; C3.value=0.00045 * this.value; C4.value=0.90719 * this.value; C5.value=12.0958 * this.value; C6.value=0.75599 * this.value; C7.value=16 * this.value; C9.value=0.00045 * this.value; CA.value=0.0005 * this.value;" size="10" name="C8"></td> <td style="text-align: center"> <input onkeyup=" C2.value=1016.05 * this.value; C3.value=1.01605 * this.value; C4.value=203.209 * this.value; C5.value=27094.6 * this.value; C6.value=1693.41 * this.value; C7.value=35840 * this.value; C8.value=2240 * this.value; CA.value=1.12 * this.value;" size="10" name="C9"></td> <td style="text-align: center"> <input onkeyup=" C2.value=907185 * this.value; C2.value=907.185 * this.value; C3.value=0.90719 * this.value; C4.value=1814.37 * this.value; C5.value=24191.6 * this.value; C6.value=1511.98 * this.value; C7.value=32000 * this.value; C8.value=2000 * this.value; C9.value=0.89286 * this.value;" size="10" name="CA"></td> </tr> <tr> <td colSpan="5" style="text-align: center"> <input type="reset" value="清除"></td> </tr> </table> </form> <hr SIZE="1"> <form style="margin-top: 6; margin-bottom: 6"> <table cellSpacing="0" cellPadding="4" border="1" style="background-color: #f7f3df"> <tr> <td class="tt" colSpan="5">面積單位換算</td> </tr> <tr align="middle" bgColor="#e3ffe3"> <td style="text-align: center">平方公尺</td> <td style="text-align: center">公 畝</td> <td style="text-align: center">公 頃</td> <td style="text-align: center">平方公里</td> <td style="text-align: center">市 畝</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" D2.value=0.01 * this.value; D3.value=0.0001 * this.value; D5.value=0.0015 * this.value; D6.value=0.3025 * this.value; D7.value=0.000103 * this.value; D8.value=0.00025 * this.value; D9.value=0.00025 * this.value;" size="10" name="D1"></td> <td style="text-align: center"> <input onkeyup=" D1.value=100 * this.value; D3.value=0.01 * this.value; D4.value=0.0001 * this.value; D5.value=0.15 * this.value; D6.value=30.25 * this.value; D7.value=0.01031 * this.value; D8.value=0.02471 * this.value; D9.value=0.02471 * this.value;" size="10" name="D2"></td> <td style="text-align: center"> <input onkeyup=" D1.value=10000 * this.value; D2.value=100 * this.value; D4.value=0.01 * this.value; D5.value=15 * this.value; D6.value=3025 * this.value; D7.value=1.03102 * this.value; D8.value=2.47106 * this.value; D9.value=2.47104 * this.value;" size="10" name="D3"></td> <td style="text-align: center"> <input onkeyup=" D2.value=10000 * this.value; D3.value=100 * this.value; D5.value=1500 * this.value; D6.value=302500 * this.value; D7.value=10.3102 * this.value; D8.value=247.104 * this.value; D9.value=247.104 * this.value;" size="10" name="D4"></td> <td style="text-align: center"> <input onkeyup=" D1.value=666.666 * this.value; D2.value=6.6667 * this.value; D3.value=0.06667 * this.value; D4.value=0.000667 * this.value; D6.value=201.667 * this.value; D7.value=0.06874 * this.value; D8.value=0.16441 * this.value; D9.value=0.16474 * this.value;" size="10" name="D5"></td> </tr> <tr> <td align="middle" bgColor="#e3ffe3" style="text-align: center">坪</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">臺 灣 甲</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">英 畝</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">美 畝</td> <td align="middle" bgColor="#e3ffe3" style="text-align: center">-</td> </tr> <tr> <td style="text-align: center"> <input onkeyup=" D1.value=3.30579 * this.value; D2.value=0.03306 * this.value; D3.value=0.00033 * this.value; D5.value=0.00496 * this.value; D7.value=0.00034 * this.value; D8.value=0.00082 * this.value; D9.value=0.00082 * this.value;" size="10" name="D6"></td> <td style="text-align: center"> <input onkeyup=" D1.value=9699.17 * this.value; D2.value=96.9917 * this.value; D3.value=0.96992 * this.value; D4.value=0.00970 * this.value; D5.value=14.5488 * this.value; D6.value=2934 * this.value; D8.value=2.39672 * this.value; D9.value=2.39647 * this.value;" size="10" name="D7"></td> <td style="text-align: center"> <input onkeyup=" D1.value=4046.85 * this.value; D2.value=40.4685 * this.value; D3.value=0.40469 * this.value; D4.value=0.00405 * this.value; D5.value=6.00029 * this.value; D6.value=1224.17 * this.value; D7.value=0.41724 * this.value; D9.value=0.99999 * this.value;" size="10" name="D8"></td> <td style="text-align: center"> <input onkeyup=" D1.value=4046.87 * this.value; D2.value=40.4687 * this.value; D3.value=0.40469 * this.value; D4.value=0.00405 * this.value; D5.value=6.07031 * this.value; D6.value=1224.18 * this.value; D7.value=0.41724 * this.value; D8.value=1.000005 * this.value;" size="10" name="D9"></td> <td style="text-align: center">-</td> </tr> <tr> <td colSpan="5" style="text-align: center"> <input type="reset" value="清除"></td> </tr> </table> </center> 延伸閱讀: <a href="http://www.hkunit.net/">東東數學網</a> </div> <div style="clear:both;"></div> <div class="articleCategory" id="feeling"> <script type='text/javascript' src="http://ad.blog.yam.com/feeling/feeling.php?aid=5375318&op=show&bid=nathanlee&d=y&t=1232638054"></script>