Flow meter Directory

The Comprehensive Flowmeters Resource

Volume or capacity

{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 Barrels (oil) Bushels (UK) Bushels (US) Centiliters Cubic Centimeters Cubic Decimeters Cubic Decameters Cubic Feet Cubic Inches Cubic Meters Cubic Millimetres Cubic Yards Deciliters Fluid Ounces (UK) Fluid Ounces (US) Gallons (UK) Gallons,dry (US) Gallons, liquid (US) Liters Liters (1901-1964) Milliliters Pints (UK) Pints dry (US) Pints liquid (US) Quarts (UK) Quarts dry (US) Quarts liquid(US) “>
<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 Volume Gallons Liters Ounces and more</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″>Volume or capacity
        [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=”158.987294928″>barrels (oil)</option>
                             <option value=”36.36872″>bushels (UK)</option>
                             <option value=”35.23907016688″>bushels (US)</option>
                             <option value=”0.01″>centiliters</option>
                             <option value=”1e-3″>cubic centimeters</option>
                             <option value=”1″>cubic decimeters</option>
                             <option value=”1e6″>cubic decameters</option>
                             <option value=”28.316846592″>cubic feet</option>
                             <option value=”0.016387064″>cubic inches</option>
                             <option value=”1e3″>cubic meters</option>
                             <option value=”1e-6″>cubic millimeters</option>
                             <option value=”764.554857984″>cubic yards</option>
                             <option value=”0.1″>deciliters</option>
                             <option value=”0.0284130625″>fluid ounces (UK)</option>
                             <option value=”0.0295735295625″>fluid ounces (US)</option>
                             <option value=”4.54609″>gallons (UK)</option>
                             <option value=”4.40488377086″>gallons, dry (US)</option>
                             <option value=”3.785411784″>gallons, liquid (US)</option>
                             <option selected value=”1″>liters [l or L]</option>
                             <option value=”1.000028″>liters (1901-1964)</option>
                             <option value=”1e-3″>milliliters</option>
                             <option value=”0.56826125″>pints (UK)</option>
                             <option value=”0.5506104713575″>pints, dry (US)</option>
                             <option value=”0.473176473″>pints, liquid (US)</option>
                             <option value=”1.1365225″>quarts (UK)</option>
                             <option value=”1.101220942715″>quarts, dry (US)</option>
                             <option value=”0.946352946″>quarts, liquid (US)</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>&nbsp;</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=”158.987294928″>barrels (oil)</option>
                             <option value=”36.36872″>bushels (UK)</option>
                             <option value=”35.23907016688″>bushels (US)</option>
                             <option value=”0.01″>centiliters</option>
                             <option value=”1e-3″>cubic centimeters</option>
                             <option value=”1″>cubic decimeters</option>
                             <option value=”1e6″>cubic decameters</option>
                             <option value=”28.316846592″>cubic feet</option>
                             <option value=”0.016387064″>cubic inches</option>
                             <option value=”1e3″>cubic meters</option>
                             <option value=”1e-6″>cubic millimeters</option>
                             <option value=”764.554857984″>cubic yards</option>
                             <option value=”0.1″>deciliters</option>
                             <option value=”0.0284130625″>fluid ounces (UK)</option>
                             <option value=”0.0295735295625″>fluid ounces (US)</option>
                             <option value=”4.54609″>gallons (UK)</option>
                             <option value=”4.40488377086″>gallons, dry (US)</option>
                             <option value=”3.785411784″>gallons, liquid (US)</option>
                             <option selected value=”1″>liters [l or L]</option>
                             <option value=”1.000028″>liters (1901-1964)</option>
                             <option value=”1e-3″>milliliters</option>
                             <option value=”0.56826125″>pints (UK)</option>
                             <option value=”0.5506104713575″>pints, dry (US)</option>
                             <option value=”0.473176473″>pints, liquid (US)</option>
                             <option value=”1.1365225″>quarts (UK)</option>
                             <option value=”1.101220942715″>quarts, dry (US)</option>
                             <option value=”0.946352946″>quarts, liquid (US)</option>
                            </select> </td>
                        </tr>
                    </table> </td>
                 </tr>
                </table> </td>
            </tr>
         </table> </td>
    </tr>
    <tr>
     <td></td>
    </tr>
    </table>
</form>
</body>

</html>

{/source}

Scroll to Top