File indexing completed on 2024-12-22 05:36:52

0001 <?php
0002 /**
0003  * Zend Framework
0004  *
0005  * LICENSE
0006  *
0007  * This source file is subject to the new BSD license that is bundled
0008  * with this package in the file LICENSE.txt.
0009  * It is also available through the world-wide-web at this URL:
0010  * http://framework.zend.com/license/new-bsd
0011  * If you did not receive a copy of the license and are unable to
0012  * obtain it through the world-wide-web, please send an email
0013  * to license@zend.com so we can send you a copy immediately.
0014  *
0015  * @category  Zend
0016  * @package   Zend_Measure
0017  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
0018  * @license   http://framework.zend.com/license/new-bsd     New BSD License
0019  * @version   $Id$
0020  */
0021 
0022 /**
0023  * Implement needed classes
0024  */
0025 // require_once 'Zend/Measure/Abstract.php';
0026 // require_once 'Zend/Locale.php';
0027 
0028 /**
0029  * Class for handling weight conversions
0030  *
0031  * @category   Zend
0032  * @package    Zend_Measure
0033  * @subpackage Zend_Measure_Weigth
0034  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
0035  * @license    http://framework.zend.com/license/new-bsd     New BSD License
0036  */
0037 class Zend_Measure_Weight extends Zend_Measure_Abstract
0038 {
0039     const STANDARD = 'KILOGRAM';
0040 
0041     const ARRATEL                 = 'ARRATEL';
0042     const ARTEL                   = 'ARTEL';
0043     const ARROBA_PORTUGUESE       = 'ARROBA_PORTUGUESE';
0044     const ARROBA                  = 'ARROBA';
0045     const AS_                     = 'AS_';
0046     const ASS                     = 'ASS';
0047     const ATOMIC_MASS_UNIT_1960   = 'ATOMIC_MASS_UNIT_1960';
0048     const ATOMIC_MASS_UNIT_1973   = 'ATOMIC_MASS_UNIT_1973';
0049     const ATOMIC_MASS_UNIT_1986   = 'ATOMIC_MASS_UNIT_1986';
0050     const ATOMIC_MASS_UNIT        = 'ATOMIC_MASS_UNIT';
0051     const AVOGRAM                 = 'AVOGRAM';
0052     const BAG                     = 'BAG';
0053     const BAHT                    = 'BAHT';
0054     const BALE                    = 'BALE';
0055     const BALE_US                 = 'BALE_US';
0056     const BISMAR_POUND            = 'BISMAR_POUND';
0057     const CANDY                   = 'CANDY';
0058     const CARAT_INTERNATIONAL     = 'CARAT_INTERNATIONAL';
0059     const CARAT                   = 'CARAT';
0060     const CARAT_UK                = 'CARAT_UK';
0061     const CARAT_US_1913           = 'CARAT_US_1913';
0062     const CARGA                   = 'CARGA';
0063     const CATTI                   = 'CATTI';
0064     const CATTI_JAPANESE          = 'CATTI_JAPANESE';
0065     const CATTY                   = 'CATTY';
0066     const CATTY_JAPANESE          = 'CATTY_JAPANESE';
0067     const CATTY_THAI              = 'CATTY_THAI';
0068     const CENTAL                  = 'CENTAL';
0069     const CENTIGRAM               = 'CENTIGRAM';
0070     const CENTNER                 = 'CENTNER';
0071     const CENTNER_RUSSIAN         = 'CENTNER_RUSSIAN';
0072     const CHALDER                 = 'CHALDER';
0073     const CHALDRON                = 'CHALDRON';
0074     const CHIN                    = 'CHIN';
0075     const CHIN_JAPANESE           = 'CHIN_JAPANESE';
0076     const CLOVE                   = 'CLOVE';
0077     const CRITH                   = 'CRITH';
0078     const DALTON                  = 'DALTON';
0079     const DAN                     = 'DAN';
0080     const DAN_JAPANESE            = 'DAN_JAPANESE';
0081     const DECIGRAM                = 'DECIGRAM';
0082     const DECITONNE               = 'DECITONNE';
0083     const DEKAGRAM                = 'DEKAGRAM';
0084     const DEKATONNE               = 'DEKATONNE';
0085     const DENARO                  = 'DENARO';
0086     const DENIER                  = 'DENIER';
0087     const DRACHME                 = 'DRACHME';
0088     const DRAM                    = 'DRAM';
0089     const DRAM_APOTHECARIES       = 'DRAM_APOTHECARIES';
0090     const DYNE                    = 'DYNE';
0091     const ELECTRON                = 'ELECTRON';
0092     const ELECTRONVOLT            = 'ELECTRONVOLT';
0093     const ETTO                    = 'ETTO';
0094     const EXAGRAM                 = 'EXAGRAM';
0095     const FEMTOGRAM               = 'FEMTOGRAM';
0096     const FIRKIN                  = 'FIRKIN';
0097     const FLASK                   = 'FLASK';
0098     const FOTHER                  = 'FOTHER';
0099     const FOTMAL                  = 'FOTMAL';
0100     const FUNT                    = 'FUNT';
0101     const FUNTE                   = 'FUNTE';
0102     const GAMMA                   = 'GAMMA';
0103     const GIGAELECTRONVOLT        = 'GIGAELECTRONVOLT';
0104     const GIGAGRAM                = 'GIGAGRAM';
0105     const GIGATONNE               = 'GIGATONNE';
0106     const GIN                     = 'GIN';
0107     const GIN_JAPANESE            = 'GIN_JAPANESE';
0108     const GRAIN                   = 'GRAIN';
0109     const GRAM                    = 'GRAM';
0110     const GRAN                    = 'GRAN';
0111     const GRANO                   = 'GRANO';
0112     const GRANI                   = 'GRANI';
0113     const GROS                    = 'GROS';
0114     const HECTOGRAM               = 'HECTOGRAM';
0115     const HUNDRETWEIGHT           = 'HUNDRETWEIGHT';
0116     const HUNDRETWEIGHT_US        = 'HUNDRETWEIGHT_US';
0117     const HYL                     = 'HYL';
0118     const JIN                     = 'JIN';
0119     const JUPITER                 = 'JUPITER';
0120     const KATI                    = 'KATI';
0121     const KATI_JAPANESE           = 'KATI_JAPANESE';
0122     const KEEL                    = 'KEEL';
0123     const KEG                     = 'KEG';
0124     const KILODALTON              = 'KILODALTON';
0125     const KILOGRAM                = 'KILOGRAM';
0126     const KILOGRAM_FORCE          = 'KILOGRAM_FORCE';
0127     const KILOTON                 = 'KILOTON';
0128     const KILOTON_US              = 'KILOTON_US';
0129     const KILOTONNE               = 'KILOTONNE';
0130     const KIN                     = 'KIN';
0131     const KIP                     = 'KIP';
0132     const KOYAN                   = 'KOYAN';
0133     const KWAN                    = 'KWAN';
0134     const LAST_GERMANY            = 'LAST_GERMANY';
0135     const LAST                    = 'LAST';
0136     const LAST_WOOL               = 'LAST_WOOL';
0137     const LB                      = 'LB';
0138     const LBS                     = 'LBS';
0139     const LIANG                   = 'LIANG';
0140     const LIBRA_ITALIAN           = 'LIBRE_ITALIAN';
0141     const LIBRA_SPANISH           = 'LIBRA_SPANISH';
0142     const LIBRA_PORTUGUESE        = 'LIBRA_PORTUGUESE';
0143     const LIBRA_ANCIENT           = 'LIBRA_ANCIENT';
0144     const LIBRA                   = 'LIBRA';
0145     const LIVRE                   = 'LIVRE';
0146     const LONG_TON                = 'LONG_TON';
0147     const LOT                     = 'LOT';
0148     const MACE                    = 'MACE';
0149     const MAHND                   = 'MAHND';
0150     const MARC                    = 'MARC';
0151     const MARCO                   = 'MARCO';
0152     const MARK                    = 'MARK';
0153     const MARK_GERMAN             = 'MARK_GERMANY';
0154     const MAUND                   = 'MAUND';
0155     const MAUND_PAKISTAN          = 'MAUND_PAKISTAN';
0156     const MEGADALTON              = 'MEGADALTON';
0157     const MEGAGRAM                = 'MEGAGRAM';
0158     const MEGATONNE               = 'MEGATONNE';
0159     const MERCANTILE_POUND        = 'MERCANTILE_POUND';
0160     const METRIC_TON              = 'METRIC_TON';
0161     const MIC                     = 'MIC';
0162     const MICROGRAM               = 'MICROGRAM';
0163     const MILLIDALTON             = 'MILLIDALTON';
0164     const MILLIER                 = 'MILLIER';
0165     const MILLIGRAM               = 'MILLIGRAM';
0166     const MILLIMASS_UNIT          = 'MILLIMASS_UNIT';
0167     const MINA                    = 'MINA';
0168     const MOMME                   = 'MOMME';
0169     const MYRIAGRAM               = 'MYRIAGRAM';
0170     const NANOGRAM                = 'NANOGRAM';
0171     const NEWTON                  = 'NEWTON';
0172     const OBOL                    = 'OBOL';
0173     const OBOLOS                  = 'OBOLOS';
0174     const OBOLUS                  = 'OBOLUS';
0175     const OBOLOS_ANCIENT          = 'OBOLOS_ANCIENT';
0176     const OBOLUS_ANCIENT          = 'OBOLUS_ANCIENT';
0177     const OKA                     = 'OKA';
0178     const ONCA                    = 'ONCA';
0179     const ONCE                    = 'ONCE';
0180     const ONCIA                   = 'ONCIA';
0181     const ONZA                    = 'ONZA';
0182     const ONS                     = 'ONS';
0183     const OUNCE                   = 'OUNCE';
0184     const OUNCE_FORCE             = 'OUNCE_FORCE';
0185     const OUNCE_TROY              = 'OUNCE_TROY';
0186     const PACKEN                  = 'PACKEN';
0187     const PENNYWEIGHT             = 'PENNYWEIGHT';
0188     const PETAGRAM                = 'PETAGRAM';
0189     const PFUND                   = 'PFUND';
0190     const PICOGRAM                = 'PICOGRAM';
0191     const POINT                   = 'POINT';
0192     const POND                    = 'POND';
0193     const POUND                   = 'POUND';
0194     const POUND_FORCE             = 'POUND_FORCE';
0195     const POUND_METRIC            = 'POUND_METRIC';
0196     const POUND_TROY              = 'POUND_TROY';
0197     const PUD                     = 'PUD';
0198     const POOD                    = 'POOD';
0199     const PUND                    = 'PUND';
0200     const QIAN                    = 'QIAN';
0201     const QINTAR                  = 'QINTAR';
0202     const QUARTER                 = 'QUARTER';
0203     const QUARTER_US              = 'QUARTER_US';
0204     const QUARTER_TON             = 'QUARTER_TON';
0205     const QUARTERN                = 'QUARTERN';
0206     const QUARTERN_LOAF           = 'QUARTERN_LOAF';
0207     const QUINTAL_FRENCH          = 'QUINTAL_FRENCH';
0208     const QUINTAL                 = 'QUINTAL';
0209     const QUINTAL_PORTUGUESE      = 'QUINTAL_PORTUGUESE';
0210     const QUINTAL_SPAIN           = 'QUINTAL_SPAIN';
0211     const REBAH                   = 'REBAH';
0212     const ROTL                    = 'ROTL';
0213     const ROTEL                   = 'ROTEL';
0214     const ROTTLE                  = 'ROTTLE';
0215     const RATEL                   = 'RATEL';
0216     const SACK                    = 'SACK';
0217     const SCRUPLE                 = 'SCRUPLE';
0218     const SEER                    = 'SEER';
0219     const SEER_PAKISTAN           = 'SEER_PAKISTAN';
0220     const SHEKEL                  = 'SHEKEL';
0221     const SHORT_TON               = 'SHORT_TON';
0222     const SLINCH                  = 'SLINCH';
0223     const SLUG                    = 'SLUG';
0224     const STONE                   = 'STONE';
0225     const TAEL                    = 'TAEL';
0226     const TAHIL_JAPANESE          = 'TAHIL_JAPANESE';
0227     const TAHIL                   = 'TAHIL';
0228     const TALENT                  = 'TALENT';
0229     const TAN                     = 'TAN';
0230     const TECHNISCHE_MASS_EINHEIT = 'TECHNISCHE_MASS_EINHEIT';
0231     const TERAGRAM                = 'TERAGRAM';
0232     const TETRADRACHM             = 'TETRADRACHM';
0233     const TICAL                   = 'TICAL';
0234     const TOD                     = 'TOD';
0235     const TOLA                    = 'TOLA';
0236     const TOLA_PAKISTAN           = 'TOLA_PAKISTAN';
0237     const TON_UK                  = 'TON_UK';
0238     const TON                     = 'TON';
0239     const TON_US                  = 'TON_US';
0240     const TONELADA_PORTUGUESE     = 'TONELADA_PORTUGUESE';
0241     const TONELADA                = 'TONELADA';
0242     const TONNE                   = 'TONNE';
0243     const TONNEAU                 = 'TONNEAU';
0244     const TOVAR                   = 'TOVAR';
0245     const TROY_OUNCE              = 'TROY_OUNCE';
0246     const TROY_POUND              = 'TROY_POUND';
0247     const TRUSS                   = 'TRUSS';
0248     const UNCIA                   = 'UNCIA';
0249     const UNZE                    = 'UNZE';
0250     const VAGON                   = 'VAGON';
0251     const YOCTOGRAM               = 'YOCTOGRAM';
0252     const YOTTAGRAM               = 'YOTTAGRAM';
0253     const ZENTNER                 = 'ZENTNER';
0254     const ZEPTOGRAM               = 'ZEPTOGRAM';
0255     const ZETTAGRAM               = 'ZETTAGRAM';
0256 
0257     /**
0258      * Calculations for all weight units
0259      *
0260      * @var array
0261      */
0262     protected $_units = array(
0263         'ARRATEL'               => array('0.5',            'arratel'),
0264         'ARTEL'                 => array('0.5',            'artel'),
0265         'ARROBA_PORTUGUESE'     => array('14.69',          'arroba'),
0266         'ARROBA'                => array('11.502',         '@'),
0267         'AS_'                   => array('0.000052',       'as'),
0268         'ASS'                   => array('0.000052',       'ass'),
0269         'ATOMIC_MASS_UNIT_1960' => array('1.6603145e-27',  'amu'),
0270         'ATOMIC_MASS_UNIT_1973' => array('1.6605655e-27',  'amu'),
0271         'ATOMIC_MASS_UNIT_1986' => array('1.6605402e-27',  'amu'),
0272         'ATOMIC_MASS_UNIT'      => array('1.66053873e-27', 'amu'),
0273         'AVOGRAM'               => array('1.6605402e-27',  'avogram'),
0274         'BAG'                   => array('42.63768278',    'bag'),
0275         'BAHT'                  => array('0.015',          'baht'),
0276         'BALE'                  => array('326.5865064',    'bl'),
0277         'BALE_US'               => array('217.7243376',    'bl'),
0278         'BISMAR_POUND'          => array('5.993',          'bismar pound'),
0279         'CANDY'                 => array('254',            'candy'),
0280         'CARAT_INTERNATIONAL'   => array('0.0002',         'ct'),
0281         'CARAT'                 => array('0.0002',         'ct'),
0282         'CARAT_UK'              => array('0.00025919564',  'ct'),
0283         'CARAT_US_1913'         => array('0.0002053',      'ct'),
0284         'CARGA'                 => array('140',            'carga'),
0285         'CATTI'                 => array('0.604875',       'catti'),
0286         'CATTI_JAPANESE'        => array('0.594',          'catti'),
0287         'CATTY'                 => array('0.5',            'catty'),
0288         'CATTY_JAPANESE'        => array('0.6',            'catty'),
0289         'CATTY_THAI'            => array('0.6',            'catty'),
0290         'CENTAL'                => array('45.359237',      'cH'),
0291         'CENTIGRAM'             => array('0.00001',        'cg'),
0292         'CENTNER'               => array('50',             'centner'),
0293         'CENTNER_RUSSIAN'       => array('100',            'centner'),
0294         'CHALDER'               => array('2692.52',        'chd'),
0295         'CHALDRON'              => array('2692.52',        'chd'),
0296         'CHIN'                  => array('0.5',            'chin'),
0297         'CHIN_JAPANESE'         => array('0.6',            'chin'),
0298         'CLOVE'                 => array('3.175',          'clove'),
0299         'CRITH'                 => array('0.000089885',    'crith'),
0300         'DALTON'                => array('1.6605402e-27',  'D'),
0301         'DAN'                   => array('50',             'dan'),
0302         'DAN_JAPANESE'          => array('60',             'dan'),
0303         'DECIGRAM'              => array('0.0001',         'dg'),
0304         'DECITONNE'             => array('100',            'dt'),
0305         'DEKAGRAM'              => array('0.01',           'dag'),
0306         'DEKATONNE'             => array('10000',          'dat'),
0307         'DENARO'                => array('0.0011',         'denaro'),
0308         'DENIER'                => array('0.001275',       'denier'),
0309         'DRACHME'               => array('0.0038',         'drachme'),
0310         'DRAM'                  => array(array('' => '0.45359237', '/' => '256'), 'dr'),
0311         'DRAM_APOTHECARIES'     => array('0.0038879346',   'dr'),
0312         'DYNE'                  => array('1.0197162e-6',   'dyn'),
0313         'ELECTRON'              => array('9.109382e-31',   'e−'),
0314         'ELECTRONVOLT'          => array('1.782662e-36',   'eV'),
0315         'ETTO'                  => array('0.1',            'hg'),
0316         'EXAGRAM'               => array('1.0e+15',        'Eg'),
0317         'FEMTOGRAM'             => array('1.0e-18',        'fg'),
0318         'FIRKIN'                => array('25.40117272',    'fir'),
0319         'FLASK'                 => array('34.7',           'flask'),
0320         'FOTHER'                => array('979.7595192',    'fother'),
0321         'FOTMAL'                => array('32.65865064',    'fotmal'),
0322         'FUNT'                  => array('0.4095',         'funt'),
0323         'FUNTE'                 => array('0.4095',         'funte'),
0324         'GAMMA'                 => array('0.000000001',    'gamma'),
0325         'GIGAELECTRONVOLT'      => array('1.782662e-27',   'GeV'),
0326         'GIGAGRAM'              => array('1000000',        'Gg'),
0327         'GIGATONNE'             => array('1.0e+12',        'Gt'),
0328         'GIN'                   => array('0.6',            'gin'),
0329         'GIN_JAPANESE'          => array('0.594',          'gin'),
0330         'GRAIN'                 => array('0.00006479891',  'gr'),
0331         'GRAM'                  => array('0.001',          'g'),
0332         'GRAN'                  => array('0.00082',        'gran'),
0333         'GRANO'                 => array('0.00004905',     'grano'),
0334         'GRANI'                 => array('0.00004905',     'grani'),
0335         'GROS'                  => array('0.003824',       'gros'),
0336         'HECTOGRAM'             => array('0.1',            'hg'),
0337         'HUNDRETWEIGHT'         => array('50.80234544',    'cwt'),
0338         'HUNDRETWEIGHT_US'      => array('45.359237',      'cwt'),
0339         'HYL'                   => array('9.80665',        'hyl'),
0340         'JIN'                   => array('0.5',            'jin'),
0341         'JUPITER'               => array('1.899e+27',      'jupiter'),
0342         'KATI'                  => array('0.5',            'kati'),
0343         'KATI_JAPANESE'         => array('0.6',            'kati'),
0344         'KEEL'                  => array('21540.19446656', 'keel'),
0345         'KEG'                   => array('45.359237',      'keg'),
0346         'KILODALTON'            => array('1.6605402e-24',  'kD'),
0347         'KILOGRAM'              => array('1',              'kg'),
0348         'KILOGRAM_FORCE'        => array('1',              'kgf'),
0349         'KILOTON'               => array('1016046.9088',   'kt'),
0350         'KILOTON_US'            => array('907184.74',      'kt'),
0351         'KILOTONNE'             => array('1000000',        'kt'),
0352         'KIN'                   => array('0.6',            'kin'),
0353         'KIP'                   => array('453.59237',      'kip'),
0354         'KOYAN'                 => array('2419',           'koyan'),
0355         'KWAN'                  => array('3.75',           'kwan'),
0356         'LAST_GERMANY'          => array('2000',           'last'),
0357         'LAST'                  => array('1814.36948',     'last'),
0358         'LAST_WOOL'             => array('1981.29147216',  'last'),
0359         'LB'                    => array('0.45359237',     'lb'),
0360         'LBS'                   => array('0.45359237',     'lbs'),
0361         'LIANG'                 => array('0.05',           'liang'),
0362         'LIBRE_ITALIAN'         => array('0.339',          'lb'),
0363         'LIBRA_SPANISH'         => array('0.459',          'lb'),
0364         'LIBRA_PORTUGUESE'      => array('0.459',          'lb'),
0365         'LIBRA_ANCIENT'         => array('0.323',          'lb'),
0366         'LIBRA'                 => array('1',              'lb'),
0367         'LIVRE'                 => array('0.4895',         'livre'),
0368         'LONG_TON'              => array('1016.0469088',   't'),
0369         'LOT'                   => array('0.015',          'lot'),
0370         'MACE'                  => array('0.003778',       'mace'),
0371         'MAHND'                 => array('0.9253284348',   'mahnd'),
0372         'MARC'                  => array('0.24475',        'marc'),
0373         'MARCO'                 => array('0.23',           'marco'),
0374         'MARK'                  => array('0.2268',         'mark'),
0375         'MARK_GERMANY'          => array('0.2805',         'mark'),
0376         'MAUND'                 => array('37.3242',        'maund'),
0377         'MAUND_PAKISTAN'        => array('40',             'maund'),
0378         'MEGADALTON'            => array('1.6605402e-21',  'MD'),
0379         'MEGAGRAM'              => array('1000',           'Mg'),
0380         'MEGATONNE'             => array('1.0e+9',         'Mt'),
0381         'MERCANTILE_POUND'      => array('0.46655',        'lb merc'),
0382         'METRIC_TON'            => array('1000',           't'),
0383         'MIC'                   => array('1.0e-9',         'mic'),
0384         'MICROGRAM'             => array('1.0e-9',         '�g'),
0385         'MILLIDALTON'           => array('1.6605402e-30',  'mD'),
0386         'MILLIER'               => array('1000',           'millier'),
0387         'MILLIGRAM'             => array('0.000001',       'mg'),
0388         'MILLIMASS_UNIT'        => array('1.6605402e-30',  'mmu'),
0389         'MINA'                  => array('0.499',          'mina'),
0390         'MOMME'                 => array('0.00375',        'momme'),
0391         'MYRIAGRAM'             => array('10',             'myg'),
0392         'NANOGRAM'              => array('1.0e-12',        'ng'),
0393         'NEWTON'                => array('0.101971621',    'N'),
0394         'OBOL'                  => array('0.0001',         'obol'),
0395         'OBOLOS'                => array('0.0001',         'obolos'),
0396         'OBOLUS'                => array('0.0001',         'obolus'),
0397         'OBOLOS_ANCIENT'        => array('0.0005',         'obolos'),
0398         'OBOLUS_ANCIENT'        => array('0.00057',        'obolos'),
0399         'OKA'                   => array('1.28',           'oka'),
0400         'ONCA'                  => array('0.02869',        'onca'),
0401         'ONCE'                  => array('0.03059',        'once'),
0402         'ONCIA'                 => array('0.0273',         'oncia'),
0403         'ONZA'                  => array('0.02869',        'onza'),
0404         'ONS'                   => array('0.1',            'ons'),
0405         'OUNCE'                 => array(array('' => '0.45359237', '/' => '16'),    'oz'),
0406         'OUNCE_FORCE'           => array(array('' => '0.45359237', '/' => '16'),    'ozf'),
0407         'OUNCE_TROY'            => array(array('' => '65.31730128', '/' => '2100'), 'oz'),
0408         'PACKEN'                => array('490.79',         'packen'),
0409         'PENNYWEIGHT'           => array(array('' => '65.31730128', '/' => '42000'), 'dwt'),
0410         'PETAGRAM'              => array('1.0e+12',        'Pg'),
0411         'PFUND'                 => array('0.5',            'pfd'),
0412         'PICOGRAM'              => array('1.0e-15',        'pg'),
0413         'POINT'                 => array('0.000002',       'pt'),
0414         'POND'                  => array('0.5',            'pond'),
0415         'POUND'                 => array('0.45359237',     'lb'),
0416         'POUND_FORCE'           => array('0.4535237',      'lbf'),
0417         'POUND_METRIC'          => array('0.5',            'lb'),
0418         'POUND_TROY'            => array(array('' => '65.31730128', '/' => '175'), 'lb'),
0419         'PUD'                   => array('16.3',           'pud'),
0420         'POOD'                  => array('16.3',           'pood'),
0421         'PUND'                  => array('0.5',            'pund'),
0422         'QIAN'                  => array('0.005',          'qian'),
0423         'QINTAR'                => array('50',             'qintar'),
0424         'QUARTER'               => array('12.70058636',    'qtr'),
0425         'QUARTER_US'            => array('11.33980925',    'qtr'),
0426         'QUARTER_TON'           => array('226.796185',     'qtr'),
0427         'QUARTERN'              => array('1.587573295',    'quartern'),
0428         'QUARTERN_LOAF'         => array('1.81436948',     'quartern-loaf'),
0429         'QUINTAL_FRENCH'        => array('48.95',          'q'),
0430         'QUINTAL'               => array('100',            'q'),
0431         'QUINTAL_PORTUGUESE'    => array('58.752',         'q'),
0432         'QUINTAL_SPAIN'         => array('45.9',           'q'),
0433         'REBAH'                 => array('0.2855',         'rebah'),
0434         'ROTL'                  => array('0.5',            'rotl'),
0435         'ROTEL'                 => array('0.5',            'rotel'),
0436         'ROTTLE'                => array('0.5',            'rottle'),
0437         'RATEL'                 => array('0.5',            'ratel'),
0438         'SACK'                  => array('165.10762268',   'sack'),
0439         'SCRUPLE'               => array(array('' => '65.31730128', '/' => '50400'), 's'),
0440         'SEER'                  => array('0.933105',       'seer'),
0441         'SEER_PAKISTAN'         => array('1',              'seer'),
0442         'SHEKEL'                => array('0.01142',        'shekel'),
0443         'SHORT_TON'             => array('907.18474',      'st'),
0444         'SLINCH'                => array('175.126908',     'slinch'),
0445         'SLUG'                  => array('14.593903',      'slug'),
0446         'STONE'                 => array('6.35029318',     'st'),
0447         'TAEL'                  => array('0.03751',        'tael'),
0448         'TAHIL_JAPANESE'        => array('0.03751',        'tahil'),
0449         'TAHIL'                 => array('0.05',           'tahil'),
0450         'TALENT'                => array('30',             'talent'),
0451         'TAN'                   => array('50',             'tan'),
0452         'TECHNISCHE_MASS_EINHEIT' => array('9.80665',      'TME'),
0453         'TERAGRAM'              => array('1.0e+9',         'Tg'),
0454         'TETRADRACHM'           => array('0.014',          'tetradrachm'),
0455         'TICAL'                 => array('0.0164',         'tical'),
0456         'TOD'                   => array('12.70058636',    'tod'),
0457         'TOLA'                  => array('0.0116638125',   'tola'),
0458         'TOLA_PAKISTAN'         => array('0.0125',         'tola'),
0459         'TON_UK'                => array('1016.0469088',   't'),
0460         'TON'                   => array('1000',           't'),
0461         'TON_US'                => array('907.18474',      't'),
0462         'TONELADA_PORTUGUESE'   => array('793.15',         'tonelada'),
0463         'TONELADA'              => array('919.9',          'tonelada'),
0464         'TONNE'                 => array('1000',           't'),
0465         'TONNEAU'               => array('979',            'tonneau'),
0466         'TOVAR'                 => array('128.8',          'tovar'),
0467         'TROY_OUNCE'            => array(array('' => '65.31730128', '/' => '2100'), 'troy oz'),
0468         'TROY_POUND'            => array(array('' => '65.31730128', '/' => '175'),  'troy lb'),
0469         'TRUSS'                 => array('25.40117272',    'truss'),
0470         'UNCIA'                 => array('0.0272875',      'uncia'),
0471         'UNZE'                  => array('0.03125',        'unze'),
0472         'VAGON'                 => array('10000',          'vagon'),
0473         'YOCTOGRAM'             => array('1.0e-27',        'yg'),
0474         'YOTTAGRAM'             => array('1.0e+21',        'Yg'),
0475         'ZENTNER'               => array('50',             'Ztr'),
0476         'ZEPTOGRAM'             => array('1.0e-24',        'zg'),
0477         'ZETTAGRAM'             => array('1.0e+18',        'Zg'),
0478         'STANDARD'              => 'KILOGRAM'
0479     );
0480 }