You are here

private static property PHPExcel_Calculation_Engineering::$_unitConversions in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Engineering.php \PHPExcel_Calculation_Engineering::_unitConversions

* Details of the Units of measure conversion factors, organised by group * *

Type: mixed[]

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Engineering.php, line 154

Class

PHPExcel_Calculation_Engineering
PHPExcel_Calculation_Engineering

Code

private static $_unitConversions = array(
  'Mass' => array(
    'g' => array(
      'g' => 1.0,
      'sg' => 6.85220500053478E-5,
      'lbm' => 0.00220462291469134,
      'u' => 6.02217E+23,
      'ozm' => 0.0352739718003627,
    ),
    'sg' => array(
      'g' => 14593.8424189287,
      'sg' => 1.0,
      'lbm' => 32.1739194101647,
      'u' => 8.788659999999999E+27,
      'ozm' => 514.782785944229,
    ),
    'lbm' => array(
      'g' => 453.5923097488115,
      'sg' => 0.0310810749306493,
      'lbm' => 1.0,
      'u' => 2.73161E+26,
      'ozm' => 16.000002342941,
    ),
    'u' => array(
      'g' => 1.66053100460465E-24,
      'sg' => 1.1378298853295E-28,
      'lbm' => 3.66084470330684E-27,
      'u' => 1.0,
      'ozm' => 5.85735238300524E-26,
    ),
    'ozm' => array(
      'g' => 28.3495152079732,
      'sg' => 0.00194256689870811,
      'lbm' => 0.0624999908478882,
      'u' => 1.707256E+25,
      'ozm' => 1.0,
    ),
  ),
  'Distance' => array(
    'm' => array(
      'm' => 1.0,
      'mi' => 0.000621371192237334,
      'Nmi' => 0.000539956803455724,
      'in' => 39.3700787401575,
      'ft' => 3.28083989501312,
      'yd' => 1.09361329797891,
      'ang' => 10000000000.0,
      'Pica' => 2834.64566929116,
    ),
    'mi' => array(
      'm' => 1609.344,
      'mi' => 1.0,
      'Nmi' => 0.868976241900648,
      'in' => 63360.0,
      'ft' => 5280.0,
      'yd' => 1760.0,
      'ang' => 16093440000000.0,
      'Pica' => 4561919.99999971,
    ),
    'Nmi' => array(
      'm' => 1852.0,
      'mi' => 1.15077944802354,
      'Nmi' => 1.0,
      'in' => 72913.3858267717,
      'ft' => 6076.1154855643,
      'yd' => 2025.37182785694,
      'ang' => 18520000000000.0,
      'Pica' => 5249763.77952723,
    ),
    'in' => array(
      'm' => 0.0254,
      'mi' => 1.57828282828283E-5,
      'Nmi' => 1.37149028077754E-5,
      'in' => 1.0,
      'ft' => 0.0833333333333333,
      'yd' => 0.0277777777686643,
      'ang' => 254000000.0,
      'Pica' => 71.9999999999955,
    ),
    'ft' => array(
      'm' => 0.3048,
      'mi' => 0.000189393939393939,
      'Nmi' => 0.000164578833693305,
      'in' => 12.0,
      'ft' => 1.0,
      'yd' => 0.333333333223972,
      'ang' => 3048000000.0,
      'Pica' => 863.999999999946,
    ),
    'yd' => array(
      'm' => 0.9144000003,
      'mi' => 0.00056818181836823,
      'Nmi' => 0.000493736501241901,
      'in' => 36.000000011811,
      'ft' => 3.0,
      'yd' => 1.0,
      'ang' => 9144000003.0,
      'Pica' => 2592.00000085023,
    ),
    'ang' => array(
      'm' => 1.0E-10,
      'mi' => 6.213711922373341E-14,
      'Nmi' => 5.39956803455724E-14,
      'in' => 3.93700787401575E-9,
      'ft' => 3.28083989501312E-10,
      'yd' => 1.09361329797891E-10,
      'ang' => 1.0,
      'Pica' => 2.83464566929116E-7,
    ),
    'Pica' => array(
      'm' => 0.0003527777777778,
      'mi' => 2.19205948372629E-7,
      'Nmi' => 1.90484761219114E-7,
      'in' => 0.0138888888888898,
      'ft' => 0.00115740740740748,
      'yd' => 0.000385802469009251,
      'ang' => 3527777.777778,
      'Pica' => 1.0,
    ),
  ),
  'Time' => array(
    'yr' => array(
      'yr' => 1.0,
      'day' => 365.25,
      'hr' => 8766.0,
      'mn' => 525960.0,
      'sec' => 31557600.0,
    ),
    'day' => array(
      'yr' => 0.0027378507871321,
      'day' => 1.0,
      'hr' => 24.0,
      'mn' => 1440.0,
      'sec' => 86400.0,
    ),
    'hr' => array(
      'yr' => 0.000114077116130504,
      'day' => 0.0416666666666667,
      'hr' => 1.0,
      'mn' => 60.0,
      'sec' => 3600.0,
    ),
    'mn' => array(
      'yr' => 1.90128526884174E-6,
      'day' => 0.000694444444444444,
      'hr' => 0.0166666666666667,
      'mn' => 1.0,
      'sec' => 60.0,
    ),
    'sec' => array(
      'yr' => 3.16880878140289E-8,
      'day' => 1.15740740740741E-5,
      'hr' => 0.000277777777777778,
      'mn' => 0.0166666666666667,
      'sec' => 1.0,
    ),
  ),
  'Pressure' => array(
    'Pa' => array(
      'Pa' => 1.0,
      'p' => 1.0,
      'atm' => 9.86923299998193E-6,
      'at' => 9.86923299998193E-6,
      'mmHg' => 0.00750061707998627,
    ),
    'p' => array(
      'Pa' => 1.0,
      'p' => 1.0,
      'atm' => 9.86923299998193E-6,
      'at' => 9.86923299998193E-6,
      'mmHg' => 0.00750061707998627,
    ),
    'atm' => array(
      'Pa' => 101324.996583,
      'p' => 101324.996583,
      'atm' => 1.0,
      'at' => 1.0,
      'mmHg' => 760.0,
    ),
    'at' => array(
      'Pa' => 101324.996583,
      'p' => 101324.996583,
      'atm' => 1.0,
      'at' => 1.0,
      'mmHg' => 760.0,
    ),
    'mmHg' => array(
      'Pa' => 133.322363925,
      'p' => 133.322363925,
      'atm' => 0.00131578947368421,
      'at' => 0.00131578947368421,
      'mmHg' => 1.0,
    ),
  ),
  'Force' => array(
    'N' => array(
      'N' => 1.0,
      'dyn' => 100000.0,
      'dy' => 100000.0,
      'lbf' => 0.224808923655339,
    ),
    'dyn' => array(
      'N' => 1.0E-5,
      'dyn' => 1.0,
      'dy' => 1.0,
      'lbf' => 2.24808923655339E-6,
    ),
    'dy' => array(
      'N' => 1.0E-5,
      'dyn' => 1.0,
      'dy' => 1.0,
      'lbf' => 2.24808923655339E-6,
    ),
    'lbf' => array(
      'N' => 4.448222,
      'dyn' => 444822.2,
      'dy' => 444822.2,
      'lbf' => 1.0,
    ),
  ),
  'Energy' => array(
    'J' => array(
      'J' => 1.0,
      'e' => 9999995.193432311,
      'c' => 0.239006249473467,
      'cal' => 0.238846190642017,
      'eV' => 6.241457E+18,
      'ev' => 6.241457E+18,
      'HPh' => 3.72506430801E-7,
      'hh' => 3.72506430801E-7,
      'Wh' => 0.000277777916238711,
      'wh' => 0.000277777916238711,
      'flb' => 23.7304222192651,
      'BTU' => 0.000947815067349015,
      'btu' => 0.000947815067349015,
    ),
    'e' => array(
      'J' => 1.000000480657E-7,
      'e' => 1.0,
      'c' => 2.39006364353494E-8,
      'cal' => 2.38846305445111E-8,
      'eV' => 624146000000.0,
      'ev' => 624146000000.0,
      'HPh' => 3.72506609848824E-14,
      'hh' => 3.72506609848824E-14,
      'Wh' => 2.77778049754611E-11,
      'wh' => 2.77778049754611E-11,
      'flb' => 2.37304336254586E-6,
      'BTU' => 9.47815522922962E-11,
      'btu' => 9.47815522922962E-11,
    ),
    'c' => array(
      'J' => 4.18399101363672,
      'e' => 41839890.0257312,
      'c' => 1.0,
      'cal' => 0.999330315287563,
      'eV' => 2.61142E+19,
      'ev' => 2.61142E+19,
      'HPh' => 1.55856355899327E-6,
      'hh' => 1.55856355899327E-6,
      'Wh' => 0.0011622203053295,
      'wh' => 0.0011622203053295,
      'flb' => 99.28787331521021,
      'BTU' => 0.00396564972437776,
      'btu' => 0.00396564972437776,
    ),
    'cal' => array(
      'J' => 4.18679484613929,
      'e' => 41867928.3372801,
      'c' => 1.00067013349059,
      'cal' => 1.0,
      'eV' => 2.61317E+19,
      'ev' => 2.61317E+19,
      'HPh' => 1.55960800463137E-6,
      'hh' => 1.55960800463137E-6,
      'Wh' => 0.00116299914807955,
      'wh' => 0.00116299914807955,
      'flb' => 99.3544094443283,
      'BTU' => 0.00396830723907002,
      'btu' => 0.00396830723907002,
    ),
    'eV' => array(
      'J' => 1.60219000146921E-19,
      'e' => 1.60218923136574E-12,
      'c' => 3.82933423195043E-20,
      'cal' => 3.82676978535648E-20,
      'eV' => 1.0,
      'ev' => 1.0,
      'HPh' => 5.968260789123441E-26,
      'hh' => 5.968260789123441E-26,
      'Wh' => 4.45053000026614E-23,
      'wh' => 4.45053000026614E-23,
      'flb' => 3.80206452103492E-18,
      'BTU' => 1.51857982414846E-22,
      'btu' => 1.51857982414846E-22,
    ),
    'ev' => array(
      'J' => 1.60219000146921E-19,
      'e' => 1.60218923136574E-12,
      'c' => 3.82933423195043E-20,
      'cal' => 3.82676978535648E-20,
      'eV' => 1.0,
      'ev' => 1.0,
      'HPh' => 5.968260789123441E-26,
      'hh' => 5.968260789123441E-26,
      'Wh' => 4.45053000026614E-23,
      'wh' => 4.45053000026614E-23,
      'flb' => 3.80206452103492E-18,
      'BTU' => 1.51857982414846E-22,
      'btu' => 1.51857982414846E-22,
    ),
    'HPh' => array(
      'J' => 2684517.4131617,
      'e' => 26845161228302.4,
      'c' => 641616.438565991,
      'cal' => 641186.7578458349,
      'eV' => 1.67553E+25,
      'ev' => 1.67553E+25,
      'HPh' => 1.0,
      'hh' => 1.0,
      'Wh' => 745.6996531345929,
      'wh' => 745.6996531345929,
      'flb' => 63704731.6692964,
      'BTU' => 2544.42605275546,
      'btu' => 2544.42605275546,
    ),
    'hh' => array(
      'J' => 2684517.4131617,
      'e' => 26845161228302.4,
      'c' => 641616.438565991,
      'cal' => 641186.7578458349,
      'eV' => 1.67553E+25,
      'ev' => 1.67553E+25,
      'HPh' => 1.0,
      'hh' => 1.0,
      'Wh' => 745.6996531345929,
      'wh' => 745.6996531345929,
      'flb' => 63704731.6692964,
      'BTU' => 2544.42605275546,
      'btu' => 2544.42605275546,
    ),
    'Wh' => array(
      'J' => 3599.9982055472,
      'e' => 35999964751.8369,
      'c' => 860.422069219046,
      'cal' => 859.845857713046,
      'eV' => 2.2469234E+22,
      'ev' => 2.2469234E+22,
      'HPh' => 0.00134102248243839,
      'hh' => 0.00134102248243839,
      'Wh' => 1.0,
      'wh' => 1.0,
      'flb' => 85429.4774062316,
      'BTU' => 3.41213254164705,
      'btu' => 3.41213254164705,
    ),
    'wh' => array(
      'J' => 3599.9982055472,
      'e' => 35999964751.8369,
      'c' => 860.422069219046,
      'cal' => 859.845857713046,
      'eV' => 2.2469234E+22,
      'ev' => 2.2469234E+22,
      'HPh' => 0.00134102248243839,
      'hh' => 0.00134102248243839,
      'Wh' => 1.0,
      'wh' => 1.0,
      'flb' => 85429.4774062316,
      'BTU' => 3.41213254164705,
      'btu' => 3.41213254164705,
    ),
    'flb' => array(
      'J' => 0.0421400003236424,
      'e' => 421399.80068766,
      'c' => 0.0100717234301644,
      'cal' => 0.0100649785509554,
      'eV' => 2.63015E+17,
      'ev' => 2.63015E+17,
      'HPh' => 1.5697421114513E-8,
      'hh' => 1.5697421114513E-8,
      'Wh' => 1.17055614802E-5,
      'wh' => 1.17055614802E-5,
      'flb' => 1.0,
      'BTU' => 3.99409272448406E-5,
      'btu' => 3.99409272448406E-5,
    ),
    'BTU' => array(
      'J' => 1055.05813786749,
      'e' => 10550576307.4665,
      'c' => 252.165488508168,
      'cal' => 251.99661713551,
      'eV' => 6.5851E+21,
      'ev' => 6.5851E+21,
      'HPh' => 0.000393015941224568,
      'hh' => 0.000393015941224568,
      'Wh' => 0.293071851047526,
      'wh' => 0.293071851047526,
      'flb' => 25036.9750774671,
      'BTU' => 1.0,
      'btu' => 1.0,
    ),
    'btu' => array(
      'J' => 1055.05813786749,
      'e' => 10550576307.4665,
      'c' => 252.165488508168,
      'cal' => 251.99661713551,
      'eV' => 6.5851E+21,
      'ev' => 6.5851E+21,
      'HPh' => 0.000393015941224568,
      'hh' => 0.000393015941224568,
      'Wh' => 0.293071851047526,
      'wh' => 0.293071851047526,
      'flb' => 25036.9750774671,
      'BTU' => 1.0,
      'btu' => 1.0,
    ),
  ),
  'Power' => array(
    'HP' => array(
      'HP' => 1.0,
      'h' => 1.0,
      'W' => 745.701,
      'w' => 745.701,
    ),
    'h' => array(
      'HP' => 1.0,
      'h' => 1.0,
      'W' => 745.701,
      'w' => 745.701,
    ),
    'W' => array(
      'HP' => 0.00134102006031908,
      'h' => 0.00134102006031908,
      'W' => 1.0,
      'w' => 1.0,
    ),
    'w' => array(
      'HP' => 0.00134102006031908,
      'h' => 0.00134102006031908,
      'W' => 1.0,
      'w' => 1.0,
    ),
  ),
  'Magnetism' => array(
    'T' => array(
      'T' => 1.0,
      'ga' => 10000.0,
    ),
    'ga' => array(
      'T' => 0.0001,
      'ga' => 1.0,
    ),
  ),
  'Liquid' => array(
    'tsp' => array(
      'tsp' => 1.0,
      'tbs' => 0.333333333333333,
      'oz' => 0.166666666666667,
      'cup' => 0.0208333333333333,
      'pt' => 0.0104166666666667,
      'us_pt' => 0.0104166666666667,
      'uk_pt' => 0.008675585168219599,
      'qt' => 0.00520833333333333,
      'gal' => 0.00130208333333333,
      'l' => 0.0049299940840071,
      'lt' => 0.0049299940840071,
    ),
    'tbs' => array(
      'tsp' => 3.0,
      'tbs' => 1.0,
      'oz' => 0.5,
      'cup' => 0.0625,
      'pt' => 0.03125,
      'us_pt' => 0.03125,
      'uk_pt' => 0.0260267555046588,
      'qt' => 0.015625,
      'gal' => 0.00390625,
      'l' => 0.0147899822520213,
      'lt' => 0.0147899822520213,
    ),
    'oz' => array(
      'tsp' => 6.0,
      'tbs' => 2.0,
      'oz' => 1.0,
      'cup' => 0.125,
      'pt' => 0.0625,
      'us_pt' => 0.0625,
      'uk_pt' => 0.0520535110093176,
      'qt' => 0.03125,
      'gal' => 0.0078125,
      'l' => 0.0295799645040426,
      'lt' => 0.0295799645040426,
    ),
    'cup' => array(
      'tsp' => 48.0,
      'tbs' => 16.0,
      'oz' => 8.0,
      'cup' => 1.0,
      'pt' => 0.5,
      'us_pt' => 0.5,
      'uk_pt' => 0.416428088074541,
      'qt' => 0.25,
      'gal' => 0.0625,
      'l' => 0.236639716032341,
      'lt' => 0.236639716032341,
    ),
    'pt' => array(
      'tsp' => 96.0,
      'tbs' => 32.0,
      'oz' => 16.0,
      'cup' => 2.0,
      'pt' => 1.0,
      'us_pt' => 1.0,
      'uk_pt' => 0.832856176149081,
      'qt' => 0.5,
      'gal' => 0.125,
      'l' => 0.473279432064682,
      'lt' => 0.473279432064682,
    ),
    'us_pt' => array(
      'tsp' => 96.0,
      'tbs' => 32.0,
      'oz' => 16.0,
      'cup' => 2.0,
      'pt' => 1.0,
      'us_pt' => 1.0,
      'uk_pt' => 0.832856176149081,
      'qt' => 0.5,
      'gal' => 0.125,
      'l' => 0.473279432064682,
      'lt' => 0.473279432064682,
    ),
    'uk_pt' => array(
      'tsp' => 115.266,
      'tbs' => 38.422,
      'oz' => 19.211,
      'cup' => 2.401375,
      'pt' => 1.2006875,
      'us_pt' => 1.2006875,
      'uk_pt' => 1.0,
      'qt' => 0.60034375,
      'gal' => 0.1500859375,
      'l' => 0.568260698087162,
      'lt' => 0.568260698087162,
    ),
    'qt' => array(
      'tsp' => 192.0,
      'tbs' => 64.0,
      'oz' => 32.0,
      'cup' => 4.0,
      'pt' => 2.0,
      'us_pt' => 2.0,
      'uk_pt' => 1.66571235229816,
      'qt' => 1.0,
      'gal' => 0.25,
      'l' => 0.946558864129363,
      'lt' => 0.946558864129363,
    ),
    'gal' => array(
      'tsp' => 768.0,
      'tbs' => 256.0,
      'oz' => 128.0,
      'cup' => 16.0,
      'pt' => 8.0,
      'us_pt' => 8.0,
      'uk_pt' => 6.66284940919265,
      'qt' => 4.0,
      'gal' => 1.0,
      'l' => 3.78623545651745,
      'lt' => 3.78623545651745,
    ),
    'l' => array(
      'tsp' => 202.84,
      'tbs' => 67.6133333333333,
      'oz' => 33.8066666666667,
      'cup' => 4.22583333333333,
      'pt' => 2.11291666666667,
      'us_pt' => 2.11291666666667,
      'uk_pt' => 1.75975569552166,
      'qt' => 1.05645833333333,
      'gal' => 0.264114583333333,
      'l' => 1.0,
      'lt' => 1.0,
    ),
    'lt' => array(
      'tsp' => 202.84,
      'tbs' => 67.6133333333333,
      'oz' => 33.8066666666667,
      'cup' => 4.22583333333333,
      'pt' => 2.11291666666667,
      'us_pt' => 2.11291666666667,
      'uk_pt' => 1.75975569552166,
      'qt' => 1.05645833333333,
      'gal' => 0.264114583333333,
      'l' => 1.0,
      'lt' => 1.0,
    ),
  ),
);