Pristine copy of CLDR's common/testData/units/*

This commit is contained in:
Hugo van der Merwe 2020-03-05 16:33:08 +01:00
parent 8ab3a3a828
commit 20eb23f89f
2 changed files with 615 additions and 0 deletions

View file

@ -0,0 +1,433 @@
# Test data for unit preferences
# Format:
# Quantity; Usage; Region; Input (r); Input (d); Input Unit; Output (r); Output (d); Output Unit
#
# Use: Convert the Input amount & unit according to the Usage and Region.
# The result should match the Output amount and unit.
# Both rational (r) and double64 (d) forms of the input and output amounts are supplied so that implementations
# have two options for testing based on the precision in their implementations. For example:
# 3429 / 12500; 0.27432; meter;
# The Output amount and Unit are repeated for mixed units. In such a case, only the smallest unit will have
# both a rational and decimal amount; the others will have a single integer value, such as:
# length; person-height; CA; 3429 / 12500; 0.27432; meter; 2; foot; 54 / 5; 10.8; inch
# The input and output units are unit identifers; they are neither localized nor adjusted for pluralization,# nor formatted with the skeleton.
#
# Generation: Set SHOW_DATA in TestUnits.java, and look at TestUnitPreferences results.
area; default; 001; 1100000; 1100000.0; square-meter; 11 / 10; 1.1; square-kilometer
area; default; 001; 1000000; 1000000.0; square-meter; 1; 1.0; square-kilometer
area; default; 001; 900000; 900000.0; square-meter; 90; 90.0; hectare
area; default; 001; 10000; 10000.0; square-meter; 1; 1.0; hectare
area; default; 001; 9000; 9000.0; square-meter; 9000; 9000.0; square-meter
area; default; 001; 1; 1.0; square-meter; 1; 1.0; square-meter
area; default; 001; 9 / 10; 0.9; square-meter; 9000; 9000.0; square-centimeter
area; default; 001; 1 / 10000; 1.0E-4; square-meter; 1; 1.0; square-centimeter
area; default; 001; 9 / 100000; 9.0E-5; square-meter; 9 / 10; 0.9; square-centimeter
area; default; GB; 222577103232 / 78125; 2848986.9213696; square-meter; 11 / 10; 1.1; square-mile
area; default; GB; 40468564224 / 15625; 2589988.110336; square-meter; 1; 1.0; square-mile
area; default; GB; 182108539008 / 78125; 2330989.2993024; square-meter; 576; 576.0; acre
area; default; GB; 316160658 / 78125; 4046.8564224; square-meter; 1; 1.0; acre
area; default; GB; 1422722961 / 390625; 3642.17078016; square-meter; 39204; 39204.0; square-foot
area; default; GB; 145161 / 1562500; 0.09290304; square-meter; 1; 1.0; square-foot
area; default; GB; 1306449 / 15625000; 0.083612736; square-meter; 648 / 5; 129.6; square-inch
area; default; GB; 16129 / 25000000; 6.4516E-4; square-meter; 1; 1.0; square-inch
area; default; GB; 145161 / 250000000; 5.80644E-4; square-meter; 9 / 10; 0.9; square-inch
area; geograph; 001; 1100000; 1100000.0; square-meter; 11 / 10; 1.1; square-kilometer
area; geograph; 001; 1000000; 1000000.0; square-meter; 1; 1.0; square-kilometer
area; geograph; 001; 900000; 900000.0; square-meter; 9 / 10; 0.9; square-kilometer
area; geograph; GB; 222577103232 / 78125; 2848986.9213696; square-meter; 11 / 10; 1.1; square-mile
area; geograph; GB; 40468564224 / 15625; 2589988.110336; square-meter; 1; 1.0; square-mile
area; geograph; GB; 182108539008 / 78125; 2330989.2993024; square-meter; 9 / 10; 0.9; square-mile
area; land; 001; 11000; 11000.0; square-meter; 11 / 10; 1.1; hectare
area; land; 001; 10000; 10000.0; square-meter; 1; 1.0; hectare
area; land; 001; 9000; 9000.0; square-meter; 9 / 10; 0.9; hectare
area; land; GB; 1738883619 / 390625; 4451.54206464; square-meter; 11 / 10; 1.1; acre
area; land; GB; 316160658 / 78125; 4046.8564224; square-meter; 1; 1.0; acre
area; land; GB; 1422722961 / 390625; 3642.17078016; square-meter; 9 / 10; 0.9; acre
concentration; blood-glucose; AG; 662435483600000000000000; 6.624354836E23; item-per-cubic-meter; 11 / 10; 1.1; millimole-per-liter
concentration; blood-glucose; AG; 602214076000000000000000; 6.02214076E23; item-per-cubic-meter; 1; 1.0; millimole-per-liter
concentration; blood-glucose; AG; 541992668400000000000000; 5.419926684E23; item-per-cubic-meter; 9 / 10; 0.9; millimole-per-liter
concentration; default; 001; 11 / 10; 1.1; item-per-cubic-meter; 11 / 10; 1.1; item-per-cubic-meter
concentration; default; 001; 1; 1.0; item-per-cubic-meter; 1; 1.0; item-per-cubic-meter
concentration; default; 001; 9 / 10; 0.9; item-per-cubic-meter; 9 / 10; 0.9; item-per-cubic-meter
consumption; default; 001; 11 / 1000000000; 1.1E-8; cubic-meter-per-meter; 11 / 10; 1.1; liter-per-100-kilometer
consumption; default; 001; 1 / 100000000; 1.0E-8; cubic-meter-per-meter; 1; 1.0; liter-per-100-kilometer
consumption; default; 001; 9 / 1000000000; 9.0E-9; cubic-meter-per-meter; 9 / 10; 0.9; liter-per-100-kilometer
consumption; vehicle-fuel; 001; 11 / 1000000000; 1.1E-8; cubic-meter-per-meter; 11 / 10; 1.1; liter-per-100-kilometer
consumption; vehicle-fuel; 001; 1 / 100000000; 1.0E-8; cubic-meter-per-meter; 1; 1.0; liter-per-100-kilometer
consumption; vehicle-fuel; 001; 9 / 1000000000; 9.0E-9; cubic-meter-per-meter; 9 / 10; 0.9; liter-per-100-kilometer
consumption; vehicle-fuel; BR; 11 / 10000000; 1.1E-6; cubic-meter-per-meter; 11 / 10; 1.1; liter-per-kilometer
consumption; vehicle-fuel; BR; 1 / 1000000; 1.0E-6; cubic-meter-per-meter; 1; 1.0; liter-per-kilometer
consumption; vehicle-fuel; BR; 9 / 10000000; 9.0E-7; cubic-meter-per-meter; 9 / 10; 0.9; liter-per-kilometer
consumption-inverse; default; 001; 110000000; 1.1E8; meter-per-cubic-meter; 11 / 10; 1.1; kilometer-per-centiliter
consumption-inverse; default; 001; 100000000; 1.0E8; meter-per-cubic-meter; 1; 1.0; kilometer-per-centiliter
consumption-inverse; default; 001; 90000000; 9.0E7; meter-per-cubic-meter; 9 / 10; 0.9; kilometer-per-centiliter
consumption-inverse; vehicle-fuel; 001; 110000000; 1.1E8; meter-per-cubic-meter; 11 / 10; 1.1; kilometer-per-centiliter
consumption-inverse; vehicle-fuel; 001; 100000000; 1.0E8; meter-per-cubic-meter; 1; 1.0; kilometer-per-centiliter
consumption-inverse; vehicle-fuel; 001; 90000000; 9.0E7; meter-per-cubic-meter; 9 / 10; 0.9; kilometer-per-centiliter
consumption-inverse; vehicle-fuel; US; 52800000000 / 112903; 467658.0781732992; meter-per-cubic-meter; 11 / 10; 1.1; mile-per-gallon
consumption-inverse; vehicle-fuel; US; 48000000000 / 112903; 425143.707430272; meter-per-cubic-meter; 1; 1.0; mile-per-gallon
consumption-inverse; vehicle-fuel; US; 43200000000 / 112903; 382629.3366872448; meter-per-cubic-meter; 9 / 10; 0.9; mile-per-gallon
consumption-inverse; vehicle-fuel; CA; 177027840000 / 454609; 389406.8089281118; meter-per-cubic-meter; 11 / 10; 1.1; mile-per-gallon-imperial
consumption-inverse; vehicle-fuel; CA; 160934400000 / 454609; 354006.1899346471; meter-per-cubic-meter; 1; 1.0; mile-per-gallon-imperial
consumption-inverse; vehicle-fuel; CA; 144840960000 / 454609; 318605.5709411824; meter-per-cubic-meter; 9 / 10; 0.9; mile-per-gallon-imperial
duration; default; 001; 95040; 95040.0; second; 11 / 10; 1.1; day
duration; default; 001; 86400; 86400.0; second; 1; 1.0; day
duration; default; 001; 77760; 77760.0; second; 108 / 5; 21.6; hour
duration; default; 001; 3600; 3600.0; second; 1; 1.0; hour
duration; default; 001; 3240; 3240.0; second; 54; 54.0; minute
duration; default; 001; 60; 60.0; second; 1; 1.0; minute
duration; default; 001; 54; 54.0; second; 54; 54.0; second
duration; default; 001; 1; 1.0; second; 1; 1.0; second
duration; default; 001; 9 / 10; 0.9; second; 900; 900.0; millisecond
duration; default; 001; 1 / 1000; 0.001; second; 1; 1.0; millisecond
duration; default; 001; 9 / 10000; 9.0E-4; second; 900; 900.0; microsecond
duration; default; 001; 1 / 1000000; 1.0E-6; second; 1; 1.0; microsecond
duration; default; 001; 9 / 10000000; 9.0E-7; second; 900; 900.0; nanosecond
duration; default; 001; 1 / 1000000000; 1.0E-9; second; 1; 1.0; nanosecond
duration; default; 001; 9 / 10000000000; 9.0E-10; second; 9 / 10; 0.9; nanosecond
duration; media; 001; 6; 6.0; second; 1; minute; 6; 6.0; second
duration; media; 001; 0; 0.0; second; 1; minute; 0; 0.0; second
duration; media; 001; 54; 54.0; second; 54; 54.0; second
duration; media; 001; 1; 1.0; second; 1; 1.0; second
duration; media; 001; 9 / 10; 0.9; second; 9 / 10; 0.9; second
energy; default; 001; 3960000; 3960000.0; kilogram-square-meter-per-square-second; 11 / 10; 1.1; kilowatt-hour
energy; default; 001; 3600000; 3600000.0; kilogram-square-meter-per-square-second; 1; 1.0; kilowatt-hour
energy; default; 001; 3240000; 3240000.0; kilogram-square-meter-per-square-second; 9 / 10; 0.9; kilowatt-hour
energy; food; US; 23012 / 5; 4602.4; kilogram-square-meter-per-square-second; 11 / 10; 1.1; foodcalorie
energy; food; US; 4184; 4184.0; kilogram-square-meter-per-square-second; 1; 1.0; foodcalorie
energy; food; US; 18828 / 5; 3765.6; kilogram-square-meter-per-square-second; 9 / 10; 0.9; foodcalorie
energy; food; 001; 23012 / 5; 4602.4; kilogram-square-meter-per-square-second; 11 / 10; 1.1; kilocalorie
energy; food; 001; 4184; 4184.0; kilogram-square-meter-per-square-second; 1; 1.0; kilocalorie
energy; food; 001; 18828 / 5; 3765.6; kilogram-square-meter-per-square-second; 9 / 10; 0.9; kilocalorie
length; default; 001; 1100; 1100.0; meter; 11 / 10; 1.1; kilometer
length; default; 001; 1000; 1000.0; meter; 1; 1.0; kilometer
length; default; 001; 900; 900.0; meter; 900; 900.0; meter
length; default; 001; 1; 1.0; meter; 1; 1.0; meter
length; default; 001; 9 / 10; 0.9; meter; 90; 90.0; centimeter
length; default; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
length; default; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
length; default; GB; 1106424 / 625; 1770.2784; meter; 11 / 10; 1.1; mile
length; default; GB; 201168 / 125; 1609.344; meter; 1; 1.0; mile
length; default; GB; 905256 / 625; 1448.4096; meter; 4752; 4752.0; foot
length; default; GB; 381 / 1250; 0.3048; meter; 1; 1.0; foot
length; default; GB; 3429 / 12500; 0.27432; meter; 54 / 5; 10.8; inch
length; default; GB; 127 / 5000; 0.0254; meter; 1; 1.0; inch
length; default; GB; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch
length; person; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
length; person; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
length; person; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
length; person; CA; 1397 / 50000; 0.02794; meter; 11 / 10; 1.1; inch
length; person; CA; 127 / 5000; 0.0254; meter; 1; 1.0; inch
length; person; CA; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch
length; person-height; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
length; person-height; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
length; person-height; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
length; person-height; CA; 381 / 12500; 0.03048; meter; 3; foot; 6 / 5; 1.2; inch
length; person-height; CA; 0; 0.0; meter; 3; foot; 0; 0.0; inch
length; person-height; CA; 3429 / 12500; 0.27432; meter; 2; foot; 54 / 5; 10.8; inch
length; person-height; AT; 1 / 10; 0.1; meter; 1; meter; 10; 10.0; centimeter
length; person-height; AT; 0; 0.0; meter; 1; meter; 0; 0.0; centimeter
length; person-height; AT; 9 / 10; 0.9; meter; 0; meter; 90; 90.0; centimeter
length; rainfall; BR; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
length; rainfall; BR; 1 / 100; 0.01; meter; 1; 1.0; centimeter
length; rainfall; BR; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
length; rainfall; US; 1397 / 50000; 0.02794; meter; 11 / 10; 1.1; inch
length; rainfall; US; 127 / 5000; 0.0254; meter; 1; 1.0; inch
length; rainfall; US; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch
length; rainfall; 001; 11 / 10000; 0.0011; meter; 11 / 10; 1.1; millimeter
length; rainfall; 001; 1 / 1000; 0.001; meter; 1; 1.0; millimeter
length; rainfall; 001; 9 / 10000; 9.0E-4; meter; 9 / 10; 0.9; millimeter
length; road; 001; 1000; 1000.0; meter; 1; 1.0; kilometer
length; road; 001; 900; 900.0; meter; 9 / 10; 0.9; kilometer
length; road; 001; 800; 800.0; meter; 800; 800.0; meter
length; road; 001; 300; 300.0; meter; 300; 300.0; meter
length; road; 001; 2999 / 10; 299.9; meter; 2999 / 10; 299.9; meter
length; road; 001; 1; 1.0; meter; 1; 1.0; meter
length; road; 001; 9 / 10; 0.9; meter; 9 / 10; 0.9; meter
length; road; US; 603504 / 625; 965.6064; meter; 3 / 5; 0.6; mile
length; road; US; 100584 / 125; 804.672; meter; 1 / 2; 0.5; mile
length; road; US; 402336 / 625; 643.7376; meter; 2112; 2112.0; foot
length; road; US; 762 / 25; 30.48; meter; 100; 100.0; foot
length; road; US; 380619 / 12500; 30.44952; meter; 999 / 10; 99.9; foot
length; road; US; 381 / 1250; 0.3048; meter; 1; 1.0; foot
length; road; US; 3429 / 12500; 0.27432; meter; 9 / 10; 0.9; foot
length; road; GB; 603504 / 625; 965.6064; meter; 3 / 5; 0.6; mile
length; road; GB; 100584 / 125; 804.672; meter; 1 / 2; 0.5; mile
length; road; GB; 402336 / 625; 643.7376; meter; 704; 704.0; yard
length; road; GB; 2286 / 25; 91.44; meter; 100; 100.0; yard
length; road; GB; 1141857 / 12500; 91.34856; meter; 999 / 10; 99.9; yard
length; road; GB; 1143 / 1250; 0.9144; meter; 1; 1.0; yard
length; road; GB; 10287 / 12500; 0.82296; meter; 9 / 10; 0.9; yard
length; road; SE; 2000; 2000.0; meter; 1 / 5; 0.2; mile-scandinavian
length; road; SE; 1000; 1000.0; meter; 1 / 10; 0.1; mile-scandinavian
length; road; SE; 0; 0.0; meter; 0; 0.0; mile-scandinavian
length; snowfall; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
length; snowfall; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
length; snowfall; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
length; snowfall; US; 1397 / 50000; 0.02794; meter; 11 / 10; 1.1; inch
length; snowfall; US; 127 / 5000; 0.0254; meter; 1; 1.0; inch
length; snowfall; US; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch
length; vehicle; GB; 381 / 12500; 0.03048; meter; 1; foot; 6 / 5; 1.2; inch
length; vehicle; GB; 0; 0.0; meter; 1; foot; 0; 0.0; inch
length; vehicle; GB; 3429 / 12500; 0.27432; meter; 0; foot; 54 / 5; 10.8; inch
length; vehicle; 001; 11 / 10; 1.1; meter; 11 / 10; 1.1; meter
length; vehicle; 001; 1; 1.0; meter; 1; 1.0; meter
length; vehicle; 001; 9 / 10; 0.9; meter; 9 / 10; 0.9; meter
length; vehicle; MX; 1 / 10; 0.1; meter; 1; meter; 10; 10.0; centimeter
length; vehicle; MX; 0; 0.0; meter; 1; meter; 0; 0.0; centimeter
length; vehicle; MX; 9 / 10; 0.9; meter; 0; meter; 90; 90.0; centimeter
length; visiblty; 001; 200; 200.0; meter; 1 / 5; 0.2; kilometer
length; visiblty; 001; 100; 100.0; meter; 1 / 10; 0.1; kilometer
length; visiblty; 001; 1; 1.0; meter; 1; 1.0; meter
length; visiblty; 001; 9 / 10; 0.9; meter; 9 / 10; 0.9; meter
length; visiblty; 001; 0; 0.0; meter; 0; 0.0; meter
length; visiblty; DE; 11 / 10; 1.1; meter; 11 / 10; 1.1; meter
length; visiblty; DE; 1; 1.0; meter; 1; 1.0; meter
length; visiblty; DE; 9 / 10; 0.9; meter; 9 / 10; 0.9; meter
length; visiblty; GB; 1106424 / 625; 1770.2784; meter; 11 / 10; 1.1; mile
length; visiblty; GB; 201168 / 125; 1609.344; meter; 1; 1.0; mile
length; visiblty; GB; 905256 / 625; 1448.4096; meter; 4752; 4752.0; foot
length; visiblty; GB; 381 / 1250; 0.3048; meter; 1; 1.0; foot
length; visiblty; GB; 3429 / 12500; 0.27432; meter; 9 / 10; 0.9; foot
mass; default; 001; 1100; 1100.0; kilogram; 11 / 10; 1.1; metric-ton
mass; default; 001; 1000; 1000.0; kilogram; 1; 1.0; metric-ton
mass; default; 001; 900; 900.0; kilogram; 900; 900.0; kilogram
mass; default; 001; 1; 1.0; kilogram; 1; 1.0; kilogram
mass; default; 001; 9 / 10; 0.9; kilogram; 900; 900.0; gram
mass; default; 001; 1 / 1000; 0.001; kilogram; 1; 1.0; gram
mass; default; 001; 9 / 10000; 9.0E-4; kilogram; 900; 900.0; milligram
mass; default; 001; 1 / 1000000; 1.0E-6; kilogram; 1; 1.0; milligram
mass; default; 001; 9 / 10000000; 9.0E-7; kilogram; 900; 900.0; microgram
mass; default; 001; 1 / 1000000000; 1.0E-9; kilogram; 1; 1.0; microgram
mass; default; 001; 9 / 10000000000; 9.0E-10; kilogram; 9 / 10; 0.9; microgram
mass; default; GB; 498951607 / 500000; 997.903214; kilogram; 11 / 10; 1.1; ton
mass; default; GB; 45359237 / 50000; 907.18474; kilogram; 1; 1.0; ton
mass; default; GB; 408233133 / 500000; 816.466266; kilogram; 1800; 1800.0; pound
mass; default; GB; 45359237 / 100000000; 0.45359237; kilogram; 1; 1.0; pound
mass; default; GB; 408233133 / 1000000000; 0.408233133; kilogram; 72 / 5; 14.4; ounce
mass; default; GB; 45359237 / 1600000000; 0.028349523125; kilogram; 1; 1.0; ounce
mass; default; GB; 408233133 / 16000000000; 0.0255145708125; kilogram; 9 / 10; 0.9; ounce
mass; person; 001; 11 / 10; 1.1; kilogram; 11 / 10; 1.1; kilogram
mass; person; 001; 1; 1.0; kilogram; 1; 1.0; kilogram
mass; person; 001; 9 / 10; 0.9; kilogram; 900; 900.0; gram
mass; person; 001; 1 / 1000; 0.001; kilogram; 1; 1.0; gram
mass; person; 001; 9 / 10000; 9.0E-4; kilogram; 9 / 10; 0.9; gram
mass; person; DZ; 1 / 10; 0.1; kilogram; 1; kilogram; 100; 100.0; gram
mass; person; DZ; 0; 0.0; kilogram; 1; kilogram; 0; 0.0; gram
mass; person; DZ; 9 / 10; 0.9; kilogram; 0; kilogram; 900; 900.0; gram
mass; person; US; 498951607 / 1000000000; 0.498951607; kilogram; 11 / 10; 1.1; pound
mass; person; US; 45359237 / 100000000; 0.45359237; kilogram; 1; 1.0; pound
mass; person; US; 408233133 / 1000000000; 0.408233133; kilogram; 0; pound; 72 / 5; 14.4; ounce
mass; person; GB; 317514659 / 500000000; 0.635029318; kilogram; 1; stone; 7 / 5; 1.4; pound
mass; person; GB; 0; 0.0; kilogram; 1; stone; 0; 0.0; pound
mass; person; GB; 136077711 / 500000000; 0.272155422; kilogram; 12; pound; 48 / 5; 9.6; ounce
mass; person; GB; 0; 0.0; kilogram; 1; pound; 0; 0.0; ounce
mass; person; GB; 408233133 / 1000000000; 0.408233133; kilogram; 0; pound; 72 / 5; 14.4; ounce
mass; person; HK; 45359237 / 1000000000; 0.045359237; kilogram; 1; pound; 8 / 5; 1.6; ounce
mass; person; HK; 0; 0.0; kilogram; 1; pound; 0; 0.0; ounce
mass; person; HK; 408233133 / 1000000000; 0.408233133; kilogram; 0; pound; 72 / 5; 14.4; ounce
mass-density; blood-glucose; 001; 11 / 1000; 0.011; kilogram-per-cubic-meter; 11 / 10; 1.1; milligram-per-deciliter
mass-density; blood-glucose; 001; 1 / 100; 0.01; kilogram-per-cubic-meter; 1; 1.0; milligram-per-deciliter
mass-density; blood-glucose; 001; 9 / 1000; 0.009; kilogram-per-cubic-meter; 9 / 10; 0.9; milligram-per-deciliter
mass-density; default; 001; 11 / 10; 1.1; kilogram-per-cubic-meter; 11 / 10; 1.1; kilogram-per-cubic-meter
mass-density; default; 001; 1; 1.0; kilogram-per-cubic-meter; 1; 1.0; kilogram-per-cubic-meter
mass-density; default; 001; 9 / 10; 0.9; kilogram-per-cubic-meter; 9 / 10; 0.9; kilogram-per-cubic-meter
power; default; 001; 1100000000; 1.1E9; kilogram-square-meter-per-cubic-second; 11 / 10; 1.1; gigawatt
power; default; 001; 1000000000; 1.0E9; kilogram-square-meter-per-cubic-second; 1; 1.0; gigawatt
power; default; 001; 900000000; 9.0E8; kilogram-square-meter-per-cubic-second; 900; 900.0; megawatt
power; default; 001; 1000000; 1000000.0; kilogram-square-meter-per-cubic-second; 1; 1.0; megawatt
power; default; 001; 900000; 900000.0; kilogram-square-meter-per-cubic-second; 900; 900.0; kilowatt
power; default; 001; 1000; 1000.0; kilogram-square-meter-per-cubic-second; 1; 1.0; kilowatt
power; default; 001; 900; 900.0; kilogram-square-meter-per-cubic-second; 900; 900.0; watt
power; default; 001; 1; 1.0; kilogram-square-meter-per-cubic-second; 1; 1.0; watt
power; default; 001; 9 / 10; 0.9; kilogram-square-meter-per-cubic-second; 900; 900.0; milliwatt
power; default; 001; 1 / 1000; 0.001; kilogram-square-meter-per-cubic-second; 1; 1.0; milliwatt
power; default; 001; 9 / 10000; 9.0E-4; kilogram-square-meter-per-cubic-second; 9 / 10; 0.9; milliwatt
power; engine; 001; 1100; 1100.0; kilogram-square-meter-per-cubic-second; 11 / 10; 1.1; kilowatt
power; engine; 001; 1000; 1000.0; kilogram-square-meter-per-cubic-second; 1; 1.0; kilowatt
power; engine; 001; 900; 900.0; kilogram-square-meter-per-cubic-second; 9 / 10; 0.9; kilowatt
power; engine; GB; 410134929370248621 / 500000000000000; 820.2698587404972; kilogram-square-meter-per-cubic-second; 11 / 10; 1.1; horsepower
power; engine; GB; 37284993579113511 / 50000000000000; 745.6998715822702; kilogram-square-meter-per-cubic-second; 1; 1.0; horsepower
power; engine; GB; 335564942212021599 / 500000000000000; 671.1298844240432; kilogram-square-meter-per-cubic-second; 9 / 10; 0.9; horsepower
pressure; baromtrc; 001; 110; 110.0; kilogram-per-meter-square-second; 11 / 10; 1.1; hectopascal
pressure; baromtrc; 001; 100; 100.0; kilogram-per-meter-square-second; 1; 1.0; hectopascal
pressure; baromtrc; 001; 90; 90.0; kilogram-per-meter-square-second; 9 / 10; 0.9; hectopascal
pressure; baromtrc; IN; 37250279 / 10000; 3725.0279; kilogram-per-meter-square-second; 11 / 10; 1.1; inch-hg
pressure; baromtrc; IN; 3386389 / 1000; 3386.389; kilogram-per-meter-square-second; 1; 1.0; inch-hg
pressure; baromtrc; IN; 30477501 / 10000; 3047.7501; kilogram-per-meter-square-second; 9 / 10; 0.9; inch-hg
pressure; baromtrc; BR; 110; 110.0; kilogram-per-meter-square-second; 11 / 10; 1.1; millibar
pressure; baromtrc; BR; 100; 100.0; kilogram-per-meter-square-second; 1; 1.0; millibar
pressure; baromtrc; BR; 90; 90.0; kilogram-per-meter-square-second; 9 / 10; 0.9; millibar
pressure; baromtrc; MX; 44583 / 3040; 14.66546052631579; kilogram-per-meter-square-second; 11 / 10; 1.1; millimeter-of-mercury
pressure; baromtrc; MX; 4053 / 304; 13.33223684210526; kilogram-per-meter-square-second; 1; 1.0; millimeter-of-mercury
pressure; baromtrc; MX; 36477 / 3040; 11.99901315789474; kilogram-per-meter-square-second; 9 / 10; 0.9; millimeter-of-mercury
pressure; default; 001; 1100000; 1100000.0; kilogram-per-meter-square-second; 11 / 10; 1.1; megapascal
pressure; default; 001; 1000000; 1000000.0; kilogram-per-meter-square-second; 1; 1.0; megapascal
pressure; default; 001; 900000; 900000.0; kilogram-per-meter-square-second; 900000; 900000.0; pascal
pressure; default; 001; 1; 1.0; kilogram-per-meter-square-second; 1; 1.0; pascal
pressure; default; 001; 9 / 10; 0.9; kilogram-per-meter-square-second; 9 / 10; 0.9; pascal
pressure; default; GB; 97860875535731 / 12903200000; 7584.233022485197; kilogram-per-meter-square-second; 11 / 10; 1.1; pound-force-per-square-inch
pressure; default; GB; 8896443230521 / 1290320000; 6894.757293168361; kilogram-per-meter-square-second; 1; 1.0; pound-force-per-square-inch
pressure; default; GB; 80067989074689 / 12903200000; 6205.281563851525; kilogram-per-meter-square-second; 9 / 10; 0.9; pound-force-per-square-inch
speed; default; 001; 11 / 36; 0.3055555555555556; meter-per-second; 11 / 10; 1.1; kilometer-per-hour
speed; default; 001; 5 / 18; 0.2777777777777778; meter-per-second; 1; 1.0; kilometer-per-hour
speed; default; 001; 1 / 4; 0.25; meter-per-second; 9 / 10; 0.9; kilometer-per-hour
speed; default; GB; 15367 / 31250; 0.491744; meter-per-second; 11 / 10; 1.1; mile-per-hour
speed; default; GB; 1397 / 3125; 0.44704; meter-per-second; 1; 1.0; mile-per-hour
speed; default; GB; 12573 / 31250; 0.402336; meter-per-second; 9 / 10; 0.9; mile-per-hour
speed; wind; 001; 11 / 36; 0.3055555555555556; meter-per-second; 11 / 10; 1.1; kilometer-per-hour
speed; wind; 001; 5 / 18; 0.2777777777777778; meter-per-second; 1; 1.0; kilometer-per-hour
speed; wind; 001; 1 / 4; 0.25; meter-per-second; 9 / 10; 0.9; kilometer-per-hour
speed; wind; FI; 11 / 10; 1.1; meter-per-second; 11 / 10; 1.1; meter-per-second
speed; wind; FI; 1; 1.0; meter-per-second; 1; 1.0; meter-per-second
speed; wind; FI; 9 / 10; 0.9; meter-per-second; 9 / 10; 0.9; meter-per-second
speed; wind; US; 15367 / 31250; 0.491744; meter-per-second; 11 / 10; 1.1; mile-per-hour
speed; wind; US; 1397 / 3125; 0.44704; meter-per-second; 1; 1.0; mile-per-hour
speed; wind; US; 12573 / 31250; 0.402336; meter-per-second; 9 / 10; 0.9; mile-per-hour
temperature; default; 001; 1097 / 4; 274.25; kelvin; 11 / 10; 1.1; celsius
temperature; default; 001; 5483 / 20; 274.15; kelvin; 1; 1.0; celsius
temperature; default; 001; 5481 / 20; 274.05; kelvin; 9 / 10; 0.9; celsius
temperature; default; US; 15359 / 60; 255.9833333333333; kelvin; 11 / 10; 1.1; fahrenheit
temperature; default; US; 46067 / 180; 255.9277777777778; kelvin; 1; 1.0; fahrenheit
temperature; default; US; 46057 / 180; 255.8722222222222; kelvin; 9 / 10; 0.9; fahrenheit
temperature; weather; 001; 1097 / 4; 274.25; kelvin; 11 / 10; 1.1; celsius
temperature; weather; 001; 5483 / 20; 274.15; kelvin; 1; 1.0; celsius
temperature; weather; 001; 5481 / 20; 274.05; kelvin; 9 / 10; 0.9; celsius
temperature; weather; BS; 15359 / 60; 255.9833333333333; kelvin; 11 / 10; 1.1; fahrenheit
temperature; weather; BS; 46067 / 180; 255.9277777777778; kelvin; 1; 1.0; fahrenheit
temperature; weather; BS; 46057 / 180; 255.8722222222222; kelvin; 9 / 10; 0.9; fahrenheit
volume; default; 001; 11 / 10; 1.1; cubic-meter; 11 / 10; 1.1; cubic-meter
volume; default; 001; 1; 1.0; cubic-meter; 1; 1.0; cubic-meter
volume; default; 001; 9 / 10; 0.9; cubic-meter; 900000; 900000.0; cubic-centimeter
volume; default; 001; 1 / 1000000; 1.0E-6; cubic-meter; 1; 1.0; cubic-centimeter
volume; default; 001; 9 / 10000000; 9.0E-7; cubic-meter; 9 / 10; 0.9; cubic-centimeter
volume; default; GB; 608369751 / 19531250000; 0.0311485312512; cubic-meter; 11 / 10; 1.1; cubic-foot
volume; default; GB; 55306341 / 1953125000; 0.028316846592; cubic-meter; 1; 1.0; cubic-foot
volume; default; GB; 497757069 / 19531250000; 0.0254851619328; cubic-meter; 7776 / 5; 1555.2; cubic-inch
volume; default; GB; 2048383 / 125000000000; 1.6387064E-5; cubic-meter; 1; 1.0; cubic-inch
volume; default; GB; 18435447 / 1250000000000; 1.47483576E-5; cubic-meter; 9 / 10; 0.9; cubic-inch
volume; fluid; 001; 11 / 10000; 0.0011; cubic-meter; 11 / 10; 1.1; liter
volume; fluid; 001; 1 / 1000; 0.001; cubic-meter; 1; 1.0; liter
volume; fluid; 001; 9 / 10000; 9.0E-4; cubic-meter; 900; 900.0; milliliter
volume; fluid; 001; 1 / 1000000; 1.0E-6; cubic-meter; 1; 1.0; milliliter
volume; fluid; 001; 9 / 10000000; 9.0E-7; cubic-meter; 9 / 10; 0.9; milliliter
volume; fluid; US; 5204941203 / 1250000000000; 0.0041639529624; cubic-meter; 11 / 10; 1.1; gallon
volume; fluid; US; 473176473 / 125000000000; 0.003785411784; cubic-meter; 1; 1.0; gallon
volume; fluid; US; 4258588257 / 1250000000000; 0.0034068706056; cubic-meter; 18 / 5; 3.6; quart
volume; fluid; US; 473176473 / 500000000000; 9.46352946E-4; cubic-meter; 1; 1.0; quart
volume; fluid; US; 4258588257 / 5000000000000; 8.517176514E-4; cubic-meter; 9 / 5; 1.8; pint
volume; fluid; US; 473176473 / 1000000000000; 4.73176473E-4; cubic-meter; 1; 1.0; pint
volume; fluid; US; 4258588257 / 10000000000000; 4.258588257E-4; cubic-meter; 9 / 5; 1.8; cup
volume; fluid; US; 473176473 / 2000000000000; 2.365882365E-4; cubic-meter; 1; 1.0; cup
volume; fluid; US; 4258588257 / 20000000000000; 2.1292941285E-4; cubic-meter; 36 / 5; 7.2; fluid-ounce
volume; fluid; US; 473176473 / 16000000000000; 2.95735295625E-5; cubic-meter; 1; 1.0; fluid-ounce
volume; fluid; US; 4258588257 / 160000000000000; 2.661617660625E-5; cubic-meter; 9 / 5; 1.8; tablespoon
volume; fluid; US; 473176473 / 32000000000000; 1.478676478125E-5; cubic-meter; 1; 1.0; tablespoon
volume; fluid; US; 4258588257 / 320000000000000; 1.3308088303125E-5; cubic-meter; 27 / 10; 2.7; teaspoon
volume; fluid; US; 157725491 / 32000000000000; 4.92892159375E-6; cubic-meter; 1; 1.0; teaspoon
volume; fluid; US; 1419529419 / 320000000000000; 4.436029434375E-6; cubic-meter; 9 / 10; 0.9; teaspoon
volume; fluid; GB; 5000699 / 1000000000; 0.005000699; cubic-meter; 11 / 10; 1.1; gallon-imperial
volume; fluid; GB; 454609 / 100000000; 0.00454609; cubic-meter; 1; 1.0; gallon-imperial
volume; fluid; GB; 4091481 / 1000000000; 0.004091481; cubic-meter; 144; 144.0; fluid-ounce-imperial
volume; fluid; GB; 454609 / 16000000000; 2.84130625E-5; cubic-meter; 1; 1.0; fluid-ounce-imperial
volume; fluid; GB; 4091481 / 160000000000; 2.557175625E-5; cubic-meter; 9 / 10; 0.9; fluid-ounce-imperial
volume; oil; 001; 109303765263 / 625000000000; 0.1748860244208; cubic-meter; 11 / 10; 1.1; barrel
volume; oil; 001; 9936705933 / 62500000000; 0.158987294928; cubic-meter; 1; 1.0; barrel
volume; oil; 001; 89430353397 / 625000000000; 0.1430885654352; cubic-meter; 9 / 10; 0.9; barrel
volume; vehicle; US; 5204941203 / 1250000000000; 0.0041639529624; cubic-meter; 11 / 10; 1.1; gallon
volume; vehicle; US; 473176473 / 125000000000; 0.003785411784; cubic-meter; 1; 1.0; gallon
volume; vehicle; US; 4258588257 / 1250000000000; 0.0034068706056; cubic-meter; 9 / 10; 0.9; gallon
volume; vehicle; 001; 11 / 10000; 0.0011; cubic-meter; 11 / 10; 1.1; liter
volume; vehicle; 001; 1 / 1000; 0.001; cubic-meter; 1; 1.0; liter
volume; vehicle; 001; 9 / 10000; 9.0E-4; cubic-meter; 9 / 10; 0.9; liter
year-duration; default; 001; 11 / 10; 1.1; year; 11 / 10; 1.1; year
year-duration; default; 001; 1; 1.0; year; 1; 1.0; year
year-duration; default; 001; 9 / 10; 0.9; year; 54 / 5; 10.8; month
year-duration; default; 001; 1 / 12; 0.08333333333333333; year; 1; 1.0; month
year-duration; default; 001; 3 / 40; 0.075; year; 9 / 10; 0.9; month
year-duration; person-age; 001; 13 / 5; 2.6; year; 13 / 5; 2.6; year-person
year-duration; person-age; 001; 5 / 2; 2.5; year; 5 / 2; 2.5; year-person
year-duration; person-age; 001; 2 / 5; 0.4; year; 2; year-person; 24 / 5; 4.8; month-person
year-duration; person-age; 001; 0; 0.0; year; 1; year-person; 0; 0.0; month-person
year-duration; person-age; 001; 9 / 10; 0.9; year; 54 / 5; 10.8; month-person
year-duration; person-age; 001; 1 / 12; 0.08333333333333333; year; 1; 1.0; month-person
year-duration; person-age; 001; 3 / 40; 0.075; year; 9 / 10; 0.9; month-person

View file

@ -0,0 +1,182 @@
# Test data for unit conversions
# Format:
# Quantity ; x ; y ; conversion to y (rational) ; test: 1000 x ⟹ y
#
# Use: convert 1000 x units to the y unit; the result should match the final column,
# at the given precision. For example, when the last column is 159.1549,
# round to 4 decimal digits before comparing.
# Note that certain conversions are approximate, such as degrees to radians
#
# Generation: Set SHOW_DATA in TestUnits.java, and look at TestParseUnit results.
acceleration ; meter-per-square-second ; meter-per-square-second ; 1 * x ; 1,000.00
acceleration ; g-force ; meter-per-square-second ; 196133 / 20000 * x ; 9806.65
angle ; arc-second ; revolution ; 1 / 1296000 * x ; 7.716049E-4
angle ; arc-minute ; revolution ; 1 / 21600 * x ; 0.0462963
angle ; degree ; revolution ; 1 / 360 * x ; 2.777778
angle ; radian ; revolution ; 65501488 / 411557987 * x ; 159.1549
angle ; revolution ; revolution ; 1 * x ; 1,000.00
area ; square-centimeter ; square-meter ; 1 / 10000 * x ; 0.1
area ; square-inch ; square-meter ; 16129 / 25000000 * x ; 0.64516
area ; square-foot ; square-meter ; 145161 / 1562500 * x ; 92.90304
area ; square-yard ; square-meter ; 1306449 / 1562500 * x ; 836.1274
area ; square-meter ; square-meter ; 1 * x ; 1,000.00
area ; dunam ; square-meter ; 1000 * x ; 1000000.0
area ; acre ; square-meter ; 316160658 / 78125 * x ; 4046856.0
area ; hectare ; square-meter ; 10000 * x ; 1.0E7
area ; square-kilometer ; square-meter ; 1000000 * x ; 1.0E9
area ; square-mile ; square-meter ; 40468564224 / 15625 * x ; 2.589988E9
concentration ; millimole-per-liter ; item-per-cubic-meter ; 602214076000000000000000 * x ; 6.022141E26
consumption ; liter-per-100-kilometer ; cubic-meter-per-meter ; 1 / 100000000 * x ; 1.0E-5
consumption ; liter-per-kilometer ; cubic-meter-per-meter ; 1 / 1000000 * x ; 0.001
consumption-inverse ; mile-per-gallon-imperial ; meter-per-cubic-meter ; 160934400000 / 454609 * x ; 3.540062E8
consumption-inverse ; mile-per-gallon ; meter-per-cubic-meter ; 48000000000 / 112903 * x ; 4.251437E8
digital ; bit ; bit ; 1 * x ; 1,000.00
digital ; byte ; bit ; 8 * x ; 8000.0
digital ; kilobit ; bit ; 1000 * x ; 1000000.0
digital ; kilobyte ; bit ; 8000 * x ; 8000000.0
digital ; megabit ; bit ; 1000000 * x ; 1.0E9
digital ; megabyte ; bit ; 8000000 * x ; 8.0E9
digital ; gigabit ; bit ; 1000000000 * x ; 1.0E12
digital ; gigabyte ; bit ; 8000000000 * x ; 8.0E12
digital ; terabit ; bit ; 1000000000000 * x ; 1.0E15
digital ; terabyte ; bit ; 8000000000000 * x ; 8.0E15
digital ; petabyte ; bit ; 8000000000000000 * x ; 8.0E18
duration ; nanosecond ; second ; 1 / 1000000000 * x ; 1.0E-6
duration ; microsecond ; second ; 1 / 1000000 * x ; 0.001
duration ; millisecond ; second ; 1 / 1000 * x ; 1.0
duration ; second ; second ; 1 * x ; 1,000.00
duration ; minute ; second ; 60 * x ; 60000.0
duration ; hour ; second ; 3600 * x ; 3600000.0
duration ; day ; second ; 86400 * x ; 8.64E7
duration ; day-person ; second ; 86400 * x ; 8.64E7
duration ; week ; second ; 604800 * x ; 6.048E8
duration ; week-person ; second ; 604800 * x ; 6.048E8
electric-current ; milliampere ; ampere ; 1 / 1000 * x ; 1.0
electric-current ; ampere ; ampere ; 1 * x ; 1,000.00
electric-resistance ; ohm ; kilogram-square-meter-per-cubic-second-square-ampere ; 1 * x ; 1000.0
energy ; electronvolt ; kilogram-square-meter-per-square-second ; 1602177 / 10000000000000000000000000 * x ; 1.602177E-16
energy ; dalton ; kilogram-square-meter-per-square-second ; 1865522607 / 12500000000000000000 * x ; 1.492418E-7
energy ; joule ; kilogram-square-meter-per-square-second ; 1 * x ; 1000.0
energy ; newton-meter ; kilogram-square-meter-per-square-second ; 1 * x ; 1000.0
energy ; pound-force-foot ; kilogram-square-meter-per-square-second ; 3389544870828501 / 2500000000000000 * x ; 1355.818
energy ; calorie ; kilogram-square-meter-per-square-second ; 523 / 125 * x ; 4184.0
energy ; kilojoule ; kilogram-square-meter-per-square-second ; 1000 * x ; 1000000.0
energy ; british-thermal-unit ; kilogram-square-meter-per-square-second ; 52753 / 50 * x ; 1055060.0
energy ; foodcalorie ; kilogram-square-meter-per-square-second ; 4184 * x ; 4184000.0
energy ; kilocalorie ; kilogram-square-meter-per-square-second ; 4184 * x ; 4184000.0
energy ; kilowatt-hour ; kilogram-square-meter-second-per-cubic-second ; 3600000 * x ; 3.6E9
energy ; therm-us ; kilogram-square-meter-per-square-second ; 105506000 * x ; 1.05506E11
force ; newton ; kilogram-meter-per-square-second ; 1 * x ; 1000.0
force ; pound-force ; kilogram-meter-per-square-second ; 8896443230521 / 2000000000000 * x ; 4448.222
frequency ; hertz ; revolution-per-second ; 1 * x ; 1000.0
frequency ; kilohertz ; revolution-per-second ; 1000 * x ; 1000000.0
frequency ; megahertz ; revolution-per-second ; 1000000 * x ; 1.0E9
frequency ; gigahertz ; revolution-per-second ; 1000000000 * x ; 1.0E12
graphics ; pixel ; pixel ; 1 * x ; 1,000.00
graphics ; megapixel ; pixel ; 1000000 * x ; 1.0E9
length ; picometer ; meter ; 1 / 1000000000000 * x ; 1.0E-9
length ; nanometer ; meter ; 1 / 1000000000 * x ; 1.0E-6
length ; micrometer ; meter ; 1 / 1000000 * x ; 0.001
length ; point ; meter ; 127 / 360000 * x ; 0.3527778
length ; millimeter ; meter ; 1 / 1000 * x ; 1.0
length ; centimeter ; meter ; 1 / 100 * x ; 10.0
length ; inch ; meter ; 127 / 5000 * x ; 25.4
length ; decimeter ; meter ; 1 / 10 * x ; 100.0
length ; foot ; meter ; 381 / 1250 * x ; 304.8
length ; yard ; meter ; 1143 / 1250 * x ; 914.4
length ; meter ; meter ; 1 * x ; 1,000.00
length ; fathom ; meter ; 1143 / 625 * x ; 1828.8
length ; furlong ; meter ; 25146 / 125 * x ; 201168.0
length ; kilometer ; meter ; 1000 * x ; 1000000.0
length ; mile ; meter ; 201168 / 125 * x ; 1609344.0
length ; nautical-mile ; meter ; 1852 * x ; 1852000.0
length ; mile-scandinavian ; meter ; 10000 * x ; 1.0E7
length ; solar-radius ; meter ; 695700000 * x ; 6.957E11
length ; astronomical-unit ; meter ; 149597900000 * x ; 1.495979E14
length ; light-year ; meter ; 9460730000000000 * x ; 9.46073E18
length ; parsec ; meter ; 30856780000000000 * x ; 3.085678E19
luminous-flux ; lux ; candela-square-meter-per-square-meter ; 1 * x ; 1000.0
mass ; microgram ; kilogram ; 1 / 1000000000 * x ; 1.0E-6
mass ; milligram ; kilogram ; 1 / 1000000 * x ; 0.001
mass ; carat ; kilogram ; 1 / 5000 * x ; 0.2
mass ; gram ; kilogram ; 1 / 1000 * x ; 1.0
mass ; ounce ; kilogram ; 45359237 / 1600000000 * x ; 28.34952
mass ; ounce-troy ; kilogram ; 777587 / 25000000 * x ; 31.10348
mass ; pound ; kilogram ; 45359237 / 100000000 * x ; 453.5924
mass ; kilogram ; kilogram ; 1 * x ; 1,000.00
mass ; stone ; kilogram ; 317514659 / 50000000 * x ; 6350.293
mass ; ton ; kilogram ; 45359237 / 50000 * x ; 907184.7
mass ; metric-ton ; kilogram ; 1000 * x ; 1000000.0
mass ; earth-mass ; kilogram ; 5972200000000000000000000 * x ; 5.9722E27
mass ; solar-mass ; kilogram ; 1988470000000000000000000000000 * x ; 1.98847E33
mass-density ; milligram-per-deciliter ; kilogram-per-cubic-meter ; 1 / 100 * x ; 10.0
portion ; part-per-million ; portion ; 1 / 1000000 * x ; 0.001
portion ; permyriad ; portion ; 1 / 10000 * x ; 0.1
portion ; permille ; portion ; 1 / 1000 * x ; 1.0
portion ; percent ; portion ; 1 / 100 * x ; 10.0
portion ; karat ; portion ; 1 / 24 * x ; 41.66667
power ; milliwatt ; kilogram-square-meter-per-cubic-second ; 1 / 1000 * x ; 1.0
power ; watt ; kilogram-square-meter-per-cubic-second ; 1 * x ; 1000.0
power ; horsepower ; kilogram-square-meter-per-cubic-second ; 37284993579113511 / 50000000000000 * x ; 745699.9
power ; kilowatt ; kilogram-square-meter-per-cubic-second ; 1000 * x ; 1000000.0
power ; megawatt ; kilogram-square-meter-per-cubic-second ; 1000000 * x ; 1.0E9
power ; gigawatt ; kilogram-square-meter-per-cubic-second ; 1000000000 * x ; 1.0E12
power ; solar-luminosity ; kilogram-square-meter-per-cubic-second ; 382800000000000000000000000 * x ; 3.828E29
pressure ; pascal ; kilogram-per-meter-square-second ; 1 * x ; 1000.0
pressure ; millimeter-of-mercury ; kilogram-per-meter-square-second ; 4053 / 304 * x ; 13332.24
pressure ; hectopascal ; kilogram-per-meter-square-second ; 100 * x ; 100000.0
pressure ; millibar ; kilogram-per-meter-square-second ; 100 * x ; 100000.0
pressure ; kilopascal ; kilogram-per-meter-square-second ; 1000 * x ; 1000000.0
pressure ; inch-hg ; kilogram-per-meter-square-second ; 3386389 / 1000 * x ; 3386389.0
pressure ; pound-force-per-square-inch ; kilogram-meter-per-square-meter-square-second ; 8896443230521 / 1290320000 * x ; 6894757.0
pressure ; bar ; kilogram-per-meter-square-second ; 100000 * x ; 1.0E8
pressure ; atmosphere ; kilogram-per-meter-square-second ; 101325 * x ; 1.01325E8
pressure ; megapascal ; kilogram-per-meter-square-second ; 1000000 * x ; 1.0E9
resolution ; dot-per-inch ; pixel-per-meter ; 5000 / 127 * x ; 39370.08
resolution ; pixel-per-inch ; pixel-per-meter ; 5000 / 127 * x ; 39370.08
resolution ; dot-per-centimeter ; pixel-per-meter ; 100 * x ; 100000.0
resolution ; pixel-per-centimeter ; pixel-per-meter ; 100 * x ; 100000.0
speed ; kilometer-per-hour ; meter-per-second ; 5 / 18 * x ; 277.7778
speed ; mile-per-hour ; meter-per-second ; 1397 / 3125 * x ; 447.04
speed ; knot ; meter-per-second ; 463 / 900 * x ; 514.4444
speed ; meter-per-second ; meter-per-second ; 1 * x ; 1,000.00
substance-amount ; mole ; item ; 602214076000000000000000 * x ; 6.022141E26
temperature ; fahrenheit ; kelvin ; 5 / 9 * x - 45967 / 180 ; 810.9278
temperature ; kelvin ; kelvin ; 1 * x ; 1,000.00
temperature ; celsius ; kelvin ; 1 * x - 5463 / 20 ; 1273.15
typewidth ; em ; em ; 1 * x ; 1,000.00
voltage ; volt ; kilogram-square-meter-per-cubic-second-ampere ; 1 * x ; 1000.0
volume ; cubic-centimeter ; cubic-meter ; 1 / 1000000 * x ; 0.001
volume ; milliliter ; cubic-meter ; 1 / 1000000 * x ; 0.001
volume ; teaspoon ; cubic-meter ; 157725491 / 32000000000000 * x ; 0.004928922
volume ; centiliter ; cubic-meter ; 1 / 100000 * x ; 0.01
volume ; tablespoon ; cubic-meter ; 473176473 / 32000000000000 * x ; 0.01478676
volume ; cubic-inch ; cubic-meter ; 2048383 / 125000000000 * x ; 0.01638706
volume ; fluid-ounce-imperial ; cubic-meter ; 454609 / 16000000000 * x ; 0.02841306
volume ; fluid-ounce ; cubic-meter ; 473176473 / 16000000000000 * x ; 0.02957353
volume ; deciliter ; cubic-meter ; 1 / 10000 * x ; 0.1
volume ; cup ; cubic-meter ; 473176473 / 2000000000000 * x ; 0.2365882
volume ; cup-metric ; cubic-meter ; 1 / 4000 * x ; 0.25
volume ; pint ; cubic-meter ; 473176473 / 1000000000000 * x ; 0.4731765
volume ; pint-metric ; cubic-meter ; 1 / 2000 * x ; 0.5
volume ; quart ; cubic-meter ; 473176473 / 500000000000 * x ; 0.9463529
volume ; liter ; cubic-meter ; 1 / 1000 * x ; 1.0
volume ; gallon ; cubic-meter ; 473176473 / 125000000000 * x ; 3.785412
volume ; gallon-imperial ; cubic-meter ; 454609 / 100000000 * x ; 4.54609
volume ; cubic-foot ; cubic-meter ; 55306341 / 1953125000 * x ; 28.31685
volume ; bushel ; cubic-meter ; 220244188543 / 6250000000000 * x ; 35.23907
volume ; hectoliter ; cubic-meter ; 1 / 10 * x ; 100.0
volume ; barrel ; cubic-meter ; 9936705933 / 62500000000 * x ; 158.9873
volume ; cubic-yard ; cubic-meter ; 1493271207 / 1953125000 * x ; 764.5549
volume ; cubic-meter ; cubic-meter ; 1 * x ; 1,000.00
volume ; megaliter ; cubic-meter ; 1000 * x ; 1000000.0
volume ; acre-foot ; cubic-meter ; 60228605349 / 48828125 * x ; 1233482.0
volume ; cubic-kilometer ; cubic-meter ; 1000000000 * x ; 1.0E12
volume ; cubic-mile ; cubic-meter ; 8140980127813632 / 1953125 * x ; 4.168182E12
year-duration ; month ; year ; 1 / 12 * x ; 83.33333
year-duration ; month-person ; year ; 1 / 12 * x ; 83.33333
year-duration ; year ; year ; 1 * x ; 1,000.00
year-duration ; year-person ; year ; 1 * x ; 1000.0
year-duration ; decade ; year ; 10 * x ; 10000.0
year-duration ; century ; year ; 100 * x ; 100000.0