The Comprehensive Flowmeters Resource

Energy

{source}
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>

<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta name=”description” content=”CONVERSION TO Btu (IT) Btu (th) Btu (mean) Calories (IT) Calories (th) Calories (mean) Calories (15C) Calories (20C) Calories (food) Centigrade Heat Units Electron volts [eV] Ergs Foot pounds-force Foot poundals Gigajoules [Gj] Horsepower hours Joules Kilocalories (IT) Kilocalories (th) Kilogram-force-meters Kilojoules [KJ] Killowatt hours [kWh] Megajoules [MJ] Newton Meters [nM] Therms Watt seconds [Ws] Watt hours [Wh]”>
<meta name=”keywords” content=”Unit Converter units conversion convertor convert metric system UK US metric system SI imperial weight mass length volume speed density pressure area force temperature Flow meter directory”>
<title>ONLINE CONVERSION -Energy Conversion Calories, Horsepower Kilowatt, Joules</title>
<style type=”text/css”>
A {
    text-decoration: none;
    color: black;
}
A:hover {
    text-decoration: underline;
    color: #FF9933;
}
.size12pt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
</style>
<style type=”text/css”>
<!–
.style8 {
    color: #FFFFFF;
}
body {
    background-color: #A3A3A3;
}
>
</style>
<script type=”text/javascript”>
<!–
var numDigs;
var curQuantity;
var initializing = true;

function loadOptions(){
    numDigs = getNumDigs();
    
    if (getDefaultQuantityMethod() == “userDefined”)
     curQuantity = getUserQuantity();
    else curQuantity = getCookie(“curQuantity”);
    if (curQuantity == null) curQuantity = “Length”;

    displayPage(curQuantity.toLowerCase() + “.htm”);
    initializing = false;
}

function getNumDigs(){
    var numDigs = getCookie(“UCNumDigs”);
    if (numDigs != null) return parseInt(numDigs);
    else return 6;
}

function getCookie(name){
    var cname = name + “=”;
    var dc = document.cookie;
    if (dc.length > 0) {
    begin = dc.indexOf(cname);
    if (begin != -1) {
     begin += cname.length;
     end = dc.indexOf(“;”, begin);
     if (end == -1) end = dc.length;
     return unescape(dc.substring(begin, end));
    }
    }
    return null;
}
function getDefaultQuantityMethod() {
    if (getCookie(“defaultQuantityMethod”) == “userDefined”)
    return “userDefined”;
    else return “remember”;
}
function getUserQuantity(){
    var i;
    var returnQuantity;
    var cookieQuantity = getCookie(“userQuantity”);
    
    // Default value
    returnQuantity = “Length”;

    // Check if valid cookie quantity exists
    if (cookieQuantity != null) {
    for (i = 0; i <= (quantities.length – 1); i++) {
     if (cookieQuantity == quantities[i]) returnQuantity = cookieQuantity;
    }
    }
    return returnQuantity;
}
function displayPage(URL)
{
    window.location.href = URL;
}

function Convert(){
    with(document.ConvertForm){
    ValueTo.value = formatFloat(parseFloat(ValueFrom.value) *
     parseFloat(UnitFrom.options[UnitFrom.selectedIndex].value) /
     parseFloat(UnitTo.options[UnitTo.selectedIndex].value), numDigs);
    }
}

function ConvertBack(){
    with(document.ConvertForm){
    ValueFrom.value = formatFloat(parseFloat(ValueTo.value) /
     parseFloat(UnitFrom.options[UnitFrom.selectedIndex].value) *
     parseFloat(UnitTo.options[UnitTo.selectedIndex].value), numDigs);
    }
}

function formatFloat(number,X) {
// rounds number to X decimal places, default is 6
    X = (!X ? 6 : X);
    return Math.round(number*Math.pow(10,X))/Math.pow(10,X);
}

>
</script>
</head>

<body leftmargin=”10″ marginheight=”0″ marginwidth=”10″ topmargin=”0″>
<form name=”ConvertForm”>
    <table border=”0″ cellspacing=”0″ cellpadding=”5″ align=”left”>
    <tr>
     <td><font face=”Arial, Helvetica, sans-serif” size=”+1″><b style=”color: #000″>Energy or work
        [force length]</b></font></td>
    </tr>
    <tr>
     <td>
         <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>
            <tr>
             <td bgcolor=”#000000″>
                <table width=”100%” border=”0″ cellspacing=”1″ cellpadding=”5″>
                 <tr>
                    
                 <td bgcolor=”#666666″><font face=”Arial, Helvetica, sans-serif” size=”-1″><b><font color=”#FFFFFF”>Input</font></b></font></td>
                 </tr>
                 <tr>
                    
                 <td bgcolor=”#FF0000″>
                    <table>
                        <tr>
                         <td>
                            <input type=”text” size=”20″ name=”ValueFrom” value=”1″ onKeyUp=”Convert()”> </td>
                         <td>
                            <select name=”UnitFrom” size=”1″ onChange=”Convert()”>
                             <option value=”1055.056″>Btu (IT)</option>
                             <option value=”1054.350″>Btu (th)</option>
                             <option value=”1055.87″>Btu (mean)</option>
                             <option value=”4.1868″>calories (IT)</option>
                             <option value=”4.184″>calories (th)</option>
                             <option value=”4.19002″>calories (mean)</option>
                             <option value=”4.18580″>calories (15C)</option>
                             <option value=”4.18190″>calories (20C)</option>
                             <option value=”4186″>calories (food)</option>
                             <option value=”1900.4″>centigrade heat units</option>
                             <option value=”1.60219e-19″>electron volts [eV]</option>
                             <option value=”1e-7″>ergs</option>
                             <option value=”1.355817″>foot pounds-force</option>
                             <option value=”0.042140″>foot poundals</option>
                             <option value=”1e9″>gigajoules [GJ]</option>
                             <option value=”2684520″>horsepower hours</option>
                             <option selected value=”1″>joules [J]</option>
                             <option value=”4186.8″>kilocalories (IT)</option>
                             <option value=”4184″>kilocalories (th)</option>
                             <option value=”9.80665″>kilogram-force meters</option>
                             <option value=”1e3″>kilojoules [kJ]</option>
                             <option value=”3600000″>kilowatt hours [kWh]</option>
                             <option value=”1e6″>megajoules [MJ]</option>
                             <option value=”1″>newton meters [Nm]</option>
                             <option value=”105500000″>therms</option>
                             <option value=”1″>watt seconds [Ws]</option>
                             <option value=”3600″>watt hours [Wh]</option>
                            </select> </td>
                         <td>
                            <input type=”button” name=”ButtonGO” value=”Go!” onClick=”Convert()” onFocus=”if(this.blur)this.blur()”> </td>
                        </tr>
                    </table> </td>
                 </tr>
                </table> </td>
            </tr>
         </table>
         <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
            <tr>
            
            <td><img src=”spacer.gif” width=”20″ height=”20″></td>
            </tr>
         </table>
         <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>
            <tr>
             <td bgcolor=”#000000″>
                <table width=”100%” border=”0″ cellspacing=”1″ cellpadding=”5″>
                 <tr>
                    
                 <td bgcolor=”#666666″><font face=”Arial, Helvetica, sans-serif” size=”-1″><b><font color=”#FFFFFF”>Output</font></b></font></td>
                 </tr>
                 <tr>
                    
                 <td bgcolor=”#CCCCCC”>
                    <table>
                        <tr valign=”middle”>
                         <td>
                            <input type=”text” size=”20″ name=”ValueTo” onKeyUp=”ConvertBack()”> </td>
                         <td>
                            <select name=”UnitTo” size=”1″ onChange=”Convert()”>
                             <option value=”1055.056″>Btu (IT)</option>
                             <option value=”1054.350″>Btu (th)</option>
                             <option value=”1055.87″>Btu (mean)</option>
                             <option value=”4.1868″>calories (IT)</option>
                             <option value=”4.184″>calories (th)</option>
                             <option value=”4.19002″>calories (mean)</option>
                             <option value=”4.18580″>calories (15C)</option>
                             <option value=”4.18190″>calories (20C)</option>
                             <option value=”4186″>calories (food)</option>
                             <option value=”1900.4″>centigrade heat units</option>
                             <option value=”1.60219e-19″>electron volts [eV]</option>
                             <option value=”1e-7″>ergs</option>
                             <option value=”1.355817″>foot pounds-force</option>
                             <option value=”0.042140″>foot poundals</option>
                             <option value=”1e9″>gigajoules [GJ]</option>
                             <option value=”2684520″>horsepower hours</option>
                             <option selected value=”1″>joules [J]</option>
                             <option value=”4186.8″>kilocalories (IT)</option>
                             <option value=”4184″>kilocalories (th)</option>
                             <option value=”9.80665″>kilogram-force meters</option>
                             <option value=”1e3″>kilojoules [kJ]</option>
                             <option value=”3600000″>kilowatt hours [kWh]</option>
                             <option value=”1e6″>megajoules [MJ]</option>
                             <option value=”1″>newton meters [Nm]</option>
                             <option value=”105500000″>therms</option>
                             <option value=”1″>watt seconds [Ws]</option>
                             <option value=”3600″>watt hours [Wh]</option>
                            </select> </td>
                        </tr>
                    </table> </td>
                 </tr>
                </table> </td>
            </tr>
         </table> </td>
    </tr>
    </table>
</form>
</body>

</html>

{/source}

Scroll to Top