用户工具

站点工具


在线工具:度量转换器

<HTML> <HEAD> <META http-equiv=“Content-Type” content=“text/html; charset=GBK”>

<TITLE>度量衡转换</TITLE> <SCRIPT language=“javascript” type=“text/javascript”> <!– function check()

{
 if(fadd.T1.value=="")
  { alert("请输入查询内容!");
    fadd.T1.focus();
    return (false);
  }
 return (true);

}

function _otmw(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.formw.textf.value=0;
     document.formw.textfm.value=0;}
 else
    {document.formw.textfm.value=_other*_p1*_p2;}
}

function _mtow(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.formw.textf.value=0;
     document.formw.textfm.value=0;}
 else
    {document.formw.textf.value=(_this/(_p1*_p2));}
}

function _otml(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.forml.textf.value=0;
     document.forml.textfm.value=0;}
 else
    {document.forml.textfm.value=_other*_p1*_p2;}
}

function _mtol(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.forml.textf.value=0;
     document.forml.textfm.value=0;}
 else
    {document.forml.textf.value=(_this/(_p1*_p2));}
}

function _otms(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.forms.textf.value=0;
     document.forms.textfm.value=0;}
 else
    {document.forms.textfm.value=_other*_p1*_p2;}
}

function _mtos(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.forms.textf.value=0;
     document.forms.textfm.value=0;}
 else
    {document.forms.textf.value=(_this/(_p1*_p2));}
}

function _otmv(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.formv.textf.value=0;
     document.formv.textfm.value=0;}
 else
    {document.formv.textfm.value=_other*_p1*_p2;}
}

function _mtov(_other,_p1,_this,_p2)

{
 if ((_p1==0)||(_p2==0))
    {document.formv.textf.value=0;
     document.formv.textfm.value=0;}
 else
    {document.formv.textf.value=(_this/(_p1*_p2));}
}

–> </SCRIPT> <STYLE type=“text/css”> <!– body { margin: 0; background: #FFF; color: #333; font: 12px Verdana; } #duliang form, #duliang .info { width: 620px; margin: 10px auto 8px; padding: 10px; border: 1px solid #3AF; line-height: 18px; } #duliang .text, #duliang .select, #duliang strong { float: left; color: #06C; font: normal 12px Verdana; margin: 0 2px 0 0; } #duliang h3 { width: 620px; padding: 0 10px; margin: -10px -10px 10px; font: 12px/24px Arial; border-bottom: 1px solid #3AF; background: #E4F4FF; } #duliang input { border: 1px solid #3AF; font: 12px Verdana; } #duliang .button { background: #DFF1FD; color: #06C; } #duliang .text { width: 135px; height: 16px; } #duliang strong { line-height: 22px; } #duliang .select { overflow: hidden; border: 1px solid #3AF; } #duliang .select select { color: #06C; margin: -2px; width: 90px; } #duliang .formBot { text-align:center; padding-top: 30px; } –> </STYLE> <!–[if IE]> <style type=“text/css”> #duliang .text { width: 135px; height: 15px; } #duliang .formBot { padding-top: 15px; } </style> <![endif]–> </HEAD><BODY> <DIV id=“duliang”> <FORM name=“formw” id=“formw”><H3>重量转换</H3> <STRONG>(其他制式)</STRONG> <INPUT name=“textf” class=“text” value=“1”> <DIV class=“select”> <SELECT size=“1” name=“select1”> <OPTION value=“0”>–英制–</OPTION> <OPTION value=“0.4536” selected=“selected”>磅</OPTION> <OPTION value=“0.02835”>盎司</OPTION> <OPTION value=“1016.0470”>英吨</OPTION> <OPTION value=“907.1849”>美吨</OPTION> <OPTION value=“0.0017718”>打兰</OPTION> <OPTION value=“0.0000648”>格令</OPTION> <OPTION value=“0.0002”>克拉</OPTION> <OPTION value=“0”>–市制–</OPTION> <OPTION value=“50”>市担</OPTION> <OPTION value=“0.5”>市斤</OPTION> <OPTION value=“0.05”>市两</OPTION> <OPTION value=“0.005”>市钱</OPTION> <OPTION value=“0.0005”>市厘</OPTION> <OPTION value=“0.00005”>市毫</OPTION> <OPTION value=“0.000005”>市丝</OPTION> </SELECT> </DIV> <STRONG>=</STRONG> <INPUT name=“textfm” class=“text” value=“0”> <DIV class=“select”> <SELECT size=“1” name=“select2”> <OPTION value=“1” selected=“selected”>公斤(千克)</OPTION> <OPTION value=“1000”>克</OPTION> <OPTION value=“0.001”>吨</OPTION> <OPTION value=“100”>公担</OPTION> <OPTION value=“10000”>分克</OPTION> <OPTION value=“100000”>厘克</OPTION> <OPTION value=“1000000”>毫克</OPTION> </SELECT> </DIV> <STRONG>(公制)</STRONG> <DIV class=“formBot”> <INPUT name=“otm” type=“button” class=“button” onclick=_ckgedit_QUOTotmw( document.formw.textf.value, document.formw.select1.value, document.formw.textfm.value, document.formw.select2.value);“ value=“其他→公制”> <INPUT name=“mto” type=“button” class=“button” onclick=_ckgedit_QUOTmtow(document.formw.textf.value, document.formw.select1.value, document.formw.textfm.value, document.formw.select2.value);” value=“其他←公制”> </DIV> </FORM> <FORM name=“forml” id=“forml”><H3>长度转换</H3> <STRONG>(其他制式)</STRONG> <INPUT name=“textf” class=“text” value=“1”> <DIV class=“select”> <SELECT size=“1” name=“select1” id=“select1”> <OPTION value=“0”>–英制–</OPTION> <OPTION value=“0.0254” selected=“selected”>英寸</OPTION> <OPTION value=“0.3048”>英尺</OPTION> <OPTION value=“0.9144”>码</OPTION> <OPTION value=“1609.3”>英里</OPTION> <OPTION value=“0”>–市制–</OPTION> <OPTION value=“500”>市里</OPTION> <OPTION value=“33.3333”>市引</OPTION> <OPTION value=“3.3333”>市丈</OPTION> <OPTION value=“0.3333”>市尺</OPTION> <OPTION value=“0.03333”>市寸</OPTION> <OPTION value=“0.003333”>市分</OPTION> <OPTION value=“0.0003333”>市厘</OPTION> <OPTION value=“0.00003333”>市毫</OPTION> </SELECT> </DIV> <STRONG>=</STRONG> <INPUT name=“textfm” class=“text” id=“textfm” value=“0”> <DIV class=“select”> <SELECT size=“1” name=“select2” id=“select2”> <OPTION value=“1” selected=“selected”>米</OPTION> <OPTION value=“0.001”>公里(千米)</OPTION> <OPTION value=“0.0005399568”>海里</OPTION> <OPTION value=“10”>分米</OPTION> <OPTION value=“100”>厘米</OPTION> <OPTION value=“1000”>毫米</OPTION> <OPTION value=“10000”>丝米</OPTION> <OPTION value=“100000”>忽米</OPTION> <OPTION value=“1000000”>微米</OPTION> </SELECT> </DIV> <STRONG>(公制)</STRONG> <DIV class=“formBot”> <INPUT name=“otm2” type=“button” class=“button” onclick=_ckgedit_QUOTotml(document.forml.textf.value, document.forml.select1.value, document.forml.textfm.value, document.forml.select2.value);“ value=“其他→公制”> <INPUT name=“mto2” type=“button” class=“button” onclick=_ckgedit_QUOTmtol(document.forml.textf.value, document.forml.select1.value, document.forml.textfm.value, document.forml.select2.value);” value=“其他←公制”> </DIV> </FORM> <FORM name=“forms” id=“forms”><H3>面积转换</H3> <STRONG>(其他制式)</STRONG> <INPUT name=“textf” class=“text” id=“textf” value=“1”> <DIV class=“select”> <SELECT size=“1” name=“select1” id=“select1”> <OPTION value=“0”>–市制–</OPTION> <OPTION value=“66666.6667”>市顷</OPTION> <OPTION value=“666.6667” selected=“selected”>市亩</OPTION> <OPTION value=“66.6667”>市分</OPTION> <OPTION value=“0.1111”>平方市尺</OPTION> <OPTION value=“0”>–英制–</OPTION> <OPTION value=“0.00064516”>平方英寸</OPTION> <OPTION value=“0.0929”>平方英尺</OPTION> <OPTION value=“0.8361”>平方码</OPTION> <OPTION value=“4046.86”>英亩</OPTION> <OPTION value=“2590000”>平方英里</OPTION> </SELECT> </DIV> <STRONG>=</STRONG> <INPUT name=“textfm” class=“text” id=“textfm” value=“0”> <DIV class=“select”> <SELECT size=“1” name=“select2” id=“select2”> <OPTION value=“0.000001” selected=“selected”>平方公里</OPTION> <OPTION value=“0.0001”>公顷</OPTION> <OPTION value=“0.01”>公亩</OPTION> <OPTION value=“1”>平方米</OPTION> <OPTION value=“100”>平方分米</OPTION> <OPTION value=“10000”>平方厘米</OPTION> </SELECT> </DIV> <STRONG>(公制)</STRONG> <DIV class=“formBot”> <INPUT name=“otm3” type=“button” class=“button” onclick=_ckgedit_QUOTotms(document.forms.textf.value, document.forms.select1.value, document.forms.textfm.value, document.forms.select2.value);“ value=“其他→公制”> <INPUT name=“mto3” type=“button” class=“button” onclick=_ckgedit_QUOTmtos(document.forms.textf.value, document.forms.select1.value, document.forms.textfm.value, document.forms.select2.value);” value=“其他←公制”> </DIV> </FORM> <FORM name=“formv” id=“formv”><H3>体积转换</H3> <STRONG>(其他制式)</STRONG> <INPUT name=“textf” class=“text” id=“textf” value=“1”> <DIV class=“select”> <SELECT size=“1” name=“select1” id=“select1”> <OPTION value=“0”>–英制–</OPTION> <OPTION value=“0.0045461” selected=“selected”>英国加仑</OPTION> <OPTION value=“0.0037854”>美国液体加仑</OPTION> <OPTION value=“0.0044049”>美国固体加仑</OPTION> <OPTION value=“0.0000163871”>立方英寸</OPTION> <OPTION value=“0.0283”>立方英尺</OPTION> <OPTION value=“0.7646”>立方码</OPTION> <OPTION value=“0”>–市制–</OPTION> <OPTION value=“0.000037”>立方市寸</OPTION> <OPTION value=“0.037”>立方市尺</OPTION> <OPTION value=“37”>立方市丈</OPTION> </SELECT> </DIV> <STRONG>=</STRONG> <INPUT name=“textfm” class=“text” id=“textfm” value=“0”> <DIV class=“select”> <SELECT size=“1” name=“select2” id=“select2”> <OPTION value=“1” selected=“selected”>立方米</OPTION> <OPTION value=“1000”>立方分米</OPTION> <OPTION value=“1000000”>立方厘米</OPTION> <OPTION value=“1000”>升</OPTION> <OPTION value=“1000000”>毫升</OPTION> </SELECT> </DIV> <STRONG>(公制)</STRONG> <DIV class=“formBot”> <INPUT name=“otm4” type=“button” class=“button” onclick=_ckgedit_QUOTotmv(document.formv.textf.value, document.formv.select1.value, document.formv.textfm.value, document.formv.select2.value);“ value=“其他→公制”> <INPUT name=“mto4” type=“button” class=“button” onclick=_ckgedit_QUOTmtov(document.formv.textf.value, document.formv.select1.value, document.formv.textfm.value, document.formv.select2.value);” value=“其他←公制”> </DIV> </FORM> <FORM name=“formt” id=“formt”><H3>温度转换</H3> <STRONG>(其他制式)</STRONG> <INPUT name=“textf” class=“text” id=“textf” value=“50”> <DIV class=“select”> <SELECT size=“1” name=“select1” id=“select1”> <OPTION selected=“selected”>华氏</OPTION> </SELECT> </DIV> <STRONG>=</STRONG> <INPUT name=“textfg” class=“text” value=“10”> <DIV class=“select”> <SELECT size=“1” name=“select2” id=“select2”> <OPTION selected=“selected”>摄氏</OPTION> </SELECT> </DIV> <STRONG>(公制)</STRONG> <DIV class=“formBot”> <INPUT name=“otm5” type=“button” class=“button” onclick=“document.formt.textfg.value=(document.formt.textf.value-32)*5/9” value=“华氏→摄氏”> <INPUT name=“mto5” type=“button” class=“button” onclick=“document.formt.textf.value=document.formt.textfg.value*9/5+32” value=“华氏←摄氏”> </DIV> </FORM> <DIV > <P>1.其他计量单位制->公制:<BR>    在等式左边文字输入框填入非标准计量单位数量,如“1”,在等式左边非标准计量单位下拉菜单中选择单位,如“磅”;在等式右边公制计量单位下拉菜单中选择单位,如“公斤”,点击“其他→公制”按钮,即在等式右边的文字输入框中得到“0.4536”公斤。</P> <P>2.公制->其他计量单位制:<BR>    在等式右边文字输入框填入公制计量单位数量,如“1”,在等式右边公制计量单位下拉菜单中选择单位,如“公斤”;在等式左边非标准计量单位下拉菜单中选择单位,如“磅”,点击“公制→其他”按钮,即在等式左边的文字输入框中得到“2.205”磅。</P> <P>3.其他计量单位之间换算:<BR>    例如计算“市斤”与“磅”的关系。在等式左边文字输入框输入“1”,在左边下拉菜单选“市斤”,点击“其他->公制”按钮,再从等式左边下拉菜单中选择磅,点击“公制->其他”按钮,即得到1市斤相当于“1.102”磅。</P> <P>4.公制单位之间换算:<BR>    例如计算“公斤”与“克”的关系。在等式右边文字输入框输入“1”,在右边下拉菜单选“公斤”,左边下拉菜单选“市斤”(或其他有效单位),点击“公制->其他”按钮,得到“2”市斤,再从右边下拉菜单中选择“克”,点击“其他->公制”按钮,即得到1公斤相当于“1000”克。</P> </DIV> </DIV> <script type='text/javascript'> cpro_client='topy_cpr'; cpro_location=3; cpro_position=1; cpro_follow=1; cpro_close=1; cpro_clientw=0; cpro_template='float_xuanfusld_120_270'; cpro_contw=900; cpro_w=120; cpro_h=270; cpro_float=1; cpro_cad=1; </script> <script language='JavaScript' type='text/javascript' src='http://cpro.baidu.com/cpro/ui/float.js'></script> </BODY></HTML>

在线工具/度量转换器.txt · 最后更改: 2019/03/25 12:32 由 welog