diff options
Diffstat (limited to 'intl/icu/source/test/testdata/cldr')
3 files changed, 605 insertions, 0 deletions
diff --git a/intl/icu/source/test/testdata/cldr/units/_readme.txt b/intl/icu/source/test/testdata/cldr/units/_readme.txt new file mode 100644 index 0000000000..323c53fec1 --- /dev/null +++ b/intl/icu/source/test/testdata/cldr/units/_readme.txt @@ -0,0 +1,6 @@ +# Test data for units: conversions and preferences +# Copyright © 1991-2020 Unicode, Inc. +# For terms of use, see http://www.unicode.org/copyright.html +# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. +# CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) +# The format may vary between folders or files. diff --git a/intl/icu/source/test/testdata/cldr/units/unitPreferencesTest.txt b/intl/icu/source/test/testdata/cldr/units/unitPreferencesTest.txt new file mode 100644 index 0000000000..8ceb40bc6d --- /dev/null +++ b/intl/icu/source/test/testdata/cldr/units/unitPreferencesTest.txt @@ -0,0 +1,393 @@ + +# Test data for unit preferences +# Copyright © 1991-2023 Unicode, Inc. +# For terms of use, see http://www.unicode.org/copyright.html +# SPDX-License-Identifier: Unicode-DFS-2016 +# CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) +# +# 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; in particular, the output does not have further processing: +# • no localization +# • no adjustment for pluralization +# • no formatted with the skeleton +# • no suppression of zero values (for secondary -and- units such as pound in stone-and-pound) +# +# Generation: Set GENERATE_TESTS 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; floor; 001; 11 / 10; 1.1; square-meter; 11 / 10; 1.1; square-meter +area; floor; 001; 1; 1.0; square-meter; 1; 1.0; square-meter +area; floor; 001; 9 / 10; 0.9; square-meter; 9 / 10; 0.9; square-meter +area; floor; CA; 1596771 / 15625000; 0.102193344; square-meter; 11 / 10; 1.1; square-foot +area; floor; CA; 145161 / 1562500; 0.09290304; square-meter; 1; 1.0; square-foot +area; floor; CA; 1306449 / 15625000; 0.083612736; square-meter; 9 / 10; 0.9; square-foot +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; blood-glucose; 001; 66243548360000000000000000000 / 1801557; 3.67701651182838E22; item-per-cubic-meter; 11 / 10; 1.1; milligram-ofglucose-per-deciliter +concentration; blood-glucose; 001; 60221407600000000000000000000 / 1801557; 3.342742283480345E22; item-per-cubic-meter; 1; 1.0; milligram-ofglucose-per-deciliter +concentration; blood-glucose; 001; 6022140760000000000000000000 / 200173; 3.008468055132311E22; item-per-cubic-meter; 9 / 10; 0.9; milligram-ofglucose-per-deciliter +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; vehicle-fuel; US; 112903 / 43200000000; 2.61349537037037E-6; cubic-meter-per-meter; 9 / 10; 0.9; mile-per-gallon +consumption; vehicle-fuel; US; 112903 / 48000000000; 2.352145833333333E-6; cubic-meter-per-meter; 1; 1.0; mile-per-gallon +consumption; vehicle-fuel; US; 112903 / 52800000000; 2.138314393939394E-6; cubic-meter-per-meter; 11 / 10; 1.1; mile-per-gallon +consumption; vehicle-fuel; CA; 454609 / 144840960000; 3.13867707035358E-6; cubic-meter-per-meter; 9 / 10; 0.9; mile-per-gallon-imperial +consumption; vehicle-fuel; CA; 454609 / 160934400000; 2.824809363318222E-6; cubic-meter-per-meter; 1; 1.0; mile-per-gallon-imperial +consumption; vehicle-fuel; CA; 454609 / 177027840000; 2.568008512107474E-6; cubic-meter-per-meter; 11 / 10; 1.1; 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; 66; 66.0; second; 1; minute; 6; 6.0; second +duration; media; 001; 60; 60.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; focal-length; 001; 11 / 10000; 0.0011; meter; 11 / 10; 1.1; millimeter +length; focal-length; 001; 1 / 1000; 0.001; meter; 1; 1.0; millimeter +length; focal-length; 001; 9 / 10000; 9.0E-4; meter; 9 / 10; 0.9; millimeter +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; 11811 / 12500; 0.94488; meter; 3; foot; 6 / 5; 1.2; inch +length; person-height; CA; 1143 / 1250; 0.9144; meter; 3; foot; 0; 0.0; inch +length; person-height; CA; 11049 / 12500; 0.88392; meter; 174 / 5; 34.8; inch +length; person-height; CA; 127 / 5000; 0.0254; meter; 1; 1.0; inch +length; person-height; CA; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch +length; person-height; AT; 11 / 10; 1.1; meter; 1; meter; 10; 10.0; centimeter +length; person-height; AT; 1; 1.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; 10; 10.0; meter; 10; 10.0; meter +length; road; 001; 99 / 10; 9.9; meter; 99 / 10; 9.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 / 125; 3.048; meter; 10; 10.0; foot +length; road; US; 37719 / 12500; 3.01752; meter; 99 / 10; 9.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 / 125; 9.144; meter; 10; 10.0; yard +length; road; GB; 113157 / 12500; 9.05256; meter; 99 / 10; 9.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; 11000; 11000.0; meter; 11 / 10; 1.1; mile-scandinavian +length; road; SE; 10000; 10000.0; meter; 1; 1.0; mile-scandinavian +length; road; SE; 9000; 9000.0; meter; 9; 9.0; kilometer +length; road; SE; 1000; 1000.0; meter; 1; 1.0; kilometer +length; road; SE; 900; 900.0; meter; 900; 900.0; meter +length; road; SE; 300; 300.0; meter; 300; 300.0; meter +length; road; SE; 2999 / 10; 299.9; meter; 2999 / 10; 299.9; meter +length; road; SE; 10; 10.0; meter; 10; 10.0; meter +length; road; SE; 99 / 10; 9.9; meter; 99 / 10; 9.9; meter +length; road; SE; 1; 1.0; meter; 1; 1.0; meter +length; road; SE; 9 / 10; 0.9; meter; 9 / 10; 0.9; meter +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; 4191 / 12500; 0.33528; meter; 1; foot; 6 / 5; 1.2; inch +length; vehicle; GB; 381 / 1250; 0.3048; 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; 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; tonne +mass; default; 001; 1000; 1000.0; kilogram; 1; 1.0; tonne +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; 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; 3492661249 / 500000000; 6.985322498; kilogram; 1; stone; 7 / 5; 1.4; pound +mass; person; GB; 317514659 / 50000000; 6.35029318; kilogram; 1; stone; 0; 0.0; pound +mass; person; GB; 2857631931 / 500000000; 5.715263862; kilogram; 12; pound; 48 / 5; 9.6; ounce +mass; person; GB; 45359237 / 100000000; 0.45359237; 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; 498951607 / 1000000000; 0.498951607; kilogram; 1; pound; 8 / 5; 1.6; ounce +mass; person; HK; 45359237 / 100000000; 0.45359237; kilogram; 1; pound; 0; 0.0; ounce +mass; person; HK; 408233133 / 1000000000; 0.408233133; kilogram; 0; pound; 72 / 5; 14.4; ounce +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; 37250275043751 / 10000000000; 3725.0275043751; kilogram-per-meter-square-second; 11 / 10; 1.1; inch-ofhg +pressure; baromtrc; IN; 3386388640341 / 1000000000; 3386.388640341; kilogram-per-meter-square-second; 1; 1.0; inch-ofhg +pressure; baromtrc; IN; 30477497763069 / 10000000000; 3047.7497763069; kilogram-per-meter-square-second; 9 / 10; 0.9; inch-ofhg +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; 293309252313 / 2000000000; 146.6546261565; kilogram-per-meter-square-second; 11 / 10; 1.1; millimeter-ofhg +pressure; baromtrc; MX; 26664477483 / 200000000; 133.322387415; kilogram-per-meter-square-second; 1; 1.0; millimeter-ofhg +pressure; baromtrc; MX; 239980297347 / 2000000000; 119.9901486735; kilogram-per-meter-square-second; 9 / 10; 0.9; millimeter-ofhg +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; rainfall; 001; 11 / 36000000; 3.055555555555556E-7; meter-per-second; 11 / 10; 1.1; millimeter-per-hour +speed; rainfall; 001; 1 / 3600000; 2.777777777777778E-7; meter-per-second; 1; 1.0; millimeter-per-hour +speed; rainfall; 001; 1 / 4000000; 2.5E-7; meter-per-second; 9 / 10; 0.9; millimeter-per-hour +speed; rainfall; BR; 11 / 3600000; 3.055555555555556E-6; meter-per-second; 11 / 10; 1.1; centimeter-per-hour +speed; rainfall; BR; 1 / 360000; 2.777777777777778E-6; meter-per-second; 1; 1.0; centimeter-per-hour +speed; rainfall; BR; 1 / 400000; 2.5E-6; meter-per-second; 9 / 10; 0.9; centimeter-per-hour +speed; rainfall; US; 1397 / 180000000; 7.761111111111112E-6; meter-per-second; 11 / 10; 1.1; inch-per-hour +speed; rainfall; US; 127 / 18000000; 7.055555555555556E-6; meter-per-second; 1; 1.0; inch-per-hour +speed; rainfall; US; 127 / 20000000; 6.35E-6; meter-per-second; 9 / 10; 0.9; inch-per-hour +speed; snowfall; 001; 11 / 3600000; 3.055555555555556E-6; meter-per-second; 11 / 10; 1.1; centimeter-per-hour +speed; snowfall; 001; 1 / 360000; 2.777777777777778E-6; meter-per-second; 1; 1.0; centimeter-per-hour +speed; snowfall; 001; 1 / 400000; 2.5E-6; meter-per-second; 9 / 10; 0.9; centimeter-per-hour +speed; snowfall; US; 1397 / 180000000; 7.761111111111112E-6; meter-per-second; 11 / 10; 1.1; inch-per-hour +speed; snowfall; US; 127 / 18000000; 7.055555555555556E-6; meter-per-second; 1; 1.0; inch-per-hour +speed; snowfall; US; 127 / 20000000; 6.35E-6; meter-per-second; 9 / 10; 0.9; inch-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; 12 / 5; 2.4; year; 2; year-person; 24 / 5; 4.8; month-person +year-duration; person-age; 001; 1; 1.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 diff --git a/intl/icu/source/test/testdata/cldr/units/unitsTest.txt b/intl/icu/source/test/testdata/cldr/units/unitsTest.txt new file mode 100644 index 0000000000..acf936a69d --- /dev/null +++ b/intl/icu/source/test/testdata/cldr/units/unitsTest.txt @@ -0,0 +1,206 @@ +# Test data for unit conversions +# Copyright © 1991-2023 Unicode, Inc. +# For terms of use, see http://www.unicode.org/copyright.html +# SPDX-License-Identifier: Unicode-DFS-2016 +# CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) +# +# 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 GENERATE_TESTS 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 ; 9.80665 * x ; 9806.65 +angle ; arc-second ; revolution ; 0.0000625/81 * x ; 7.716049E-4 +angle ; arc-minute ; revolution ; 0.00125/27 * x ; 0.0462963 +angle ; degree ; revolution ; 0.025/9 * x ; 2.777778 +angle ; radian ; revolution ; 65,501,488/411,557,987 * x ; 159.1549 +angle ; revolution ; revolution ; 1 * x ; 1,000.00 +area ; square-centimeter ; square-meter ; 0.0001 * x ; 0.1 +area ; square-inch ; square-meter ; 0.00064516 * x ; 0.64516 +area ; square-foot ; square-meter ; 0.09290304 * x ; 92.90304 +area ; square-yard ; square-meter ; 0.83612736 * x ; 836.1274 +area ; square-meter ; square-meter ; 1 * x ; 1,000.00 +area ; dunam ; square-meter ; 1,000 * x ; 1000000.0 +area ; acre ; square-meter ; 4,046.8564224 * x ; 4046856.0 +area ; hectare ; square-meter ; 10,000 * x ; 1.0E7 +area ; square-kilometer ; square-meter ; 1,000,000 * x ; 1.0E9 +area ; square-mile ; square-meter ; 2,589,988.110336 * x ; 2.589988E9 +concentration ; milligram-ofglucose-per-deciliter ; kilogram-item-per-kilogram-cubic-meter ; 60,221,407,600,000,000,000,000,000,000/1,801,557 * x ; 3.342742E25 +concentration ; millimole-per-liter ; item-per-cubic-meter ; 602,214,076,000,000,000,000,000 * x ; 6.022141E26 +concentration-mass ; ofglucose ; item-per-kilogram ; 6,022,140,760,000,000,000,000,000,000,000/1,801,557 * x ; 3.342742E27 +consumption ; liter-per-100-kilometer ; cubic-meter-per-meter ; 0.00000001 * x ; 1.0E-5 +consumption ; liter-per-kilometer ; cubic-meter-per-meter ; 0.000001 * x ; 0.001 +consumption-inverse ; mile-per-gallon-imperial ; meter-per-cubic-meter ; 160,934,400,000/454,609 * x ; 3.540062E8 +consumption-inverse ; mile-per-gallon ; meter-per-cubic-meter ; 48,000,000,000/112,903 * x ; 4.251437E8 +digital ; bit ; bit ; 1 * x ; 1,000.00 +digital ; byte ; bit ; 8 * x ; 8000.0 +digital ; kilobit ; bit ; 1,000 * x ; 1000000.0 +digital ; kilobyte ; bit ; 8,000 * x ; 8000000.0 +digital ; megabit ; bit ; 1,000,000 * x ; 1.0E9 +digital ; megabyte ; bit ; 8,000,000 * x ; 8.0E9 +digital ; gigabit ; bit ; 1,000,000,000 * x ; 1.0E12 +digital ; gigabyte ; bit ; 8,000,000,000 * x ; 8.0E12 +digital ; terabit ; bit ; 1,000,000,000,000 * x ; 1.0E15 +digital ; terabyte ; bit ; 8,000,000,000,000 * x ; 8.0E15 +digital ; petabyte ; bit ; 8,000,000,000,000,000 * x ; 8.0E18 +duration ; nanosecond ; second ; 0.000000001 * x ; 1.0E-6 +duration ; microsecond ; second ; 0.000001 * x ; 0.001 +duration ; millisecond ; second ; 0.001 * x ; 1.0 +duration ; second ; second ; 1 * x ; 1,000.00 +duration ; minute ; second ; 60 * x ; 60000.0 +duration ; hour ; second ; 3,600 * x ; 3600000.0 +duration ; day ; second ; 86,400 * x ; 8.64E7 +duration ; day-person ; second ; 86,400 * x ; 8.64E7 +duration ; week ; second ; 604,800 * x ; 6.048E8 +duration ; week-person ; second ; 604,800 * x ; 6.048E8 +electric-current ; milliampere ; ampere ; 0.001 * 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 ; 0.0000000000000000001602177 * x ; 1.602177E-16 +energy ; dalton ; kilogram-square-meter-per-square-second ; 0.00000000014924180856 * 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 ; 1.3558179483314004 * x ; 1355.818 +energy ; calorie ; kilogram-square-meter-per-square-second ; 4.184 * x ; 4184.0 +energy ; kilojoule ; kilogram-square-meter-per-square-second ; 1,000 * x ; 1000000.0 +energy ; british-thermal-unit ; kilogram-square-meter-per-square-second ; 9,489.1523804/9 * x ; 1054350.0 +energy ; foodcalorie ; kilogram-square-meter-per-square-second ; 4,184 * x ; 4184000.0 +energy ; kilocalorie ; kilogram-square-meter-per-square-second ; 4,184 * x ; 4184000.0 +energy ; kilowatt-hour ; kilogram-square-meter-second-per-cubic-second ; 3,600,000 * x ; 3.6E9 +energy ; therm-us ; kilogram-square-meter-per-square-second ; 105,480,400 * x ; 1.054804E11 +force ; newton ; kilogram-meter-per-square-second ; 1 * x ; 1000.0 +force ; pound-force ; kilogram-meter-per-square-second ; 4.4482216152605 * x ; 4448.222 +force ; kilowatt-hour-per-100-kilometer ; kilogram-square-meter-second-per-meter-cubic-second ; 36 * x ; 36000.0 +frequency ; hertz ; revolution-per-second ; 1 * x ; 1000.0 +frequency ; kilohertz ; revolution-per-second ; 1,000 * x ; 1000000.0 +frequency ; megahertz ; revolution-per-second ; 1,000,000 * x ; 1.0E9 +frequency ; gigahertz ; revolution-per-second ; 1,000,000,000 * x ; 1.0E12 +graphics ; dot ; pixel ; 1 * x ; 1000.0 +graphics ; pixel ; pixel ; 1 * x ; 1,000.00 +graphics ; megapixel ; pixel ; 1,000,000 * x ; 1.0E9 +illuminance ; lux ; candela-per-square-meter ; 1 * x ; 1000.0 +length ; picometer ; meter ; 0.000000000001 * x ; 1.0E-9 +length ; nanometer ; meter ; 0.000000001 * x ; 1.0E-6 +length ; micrometer ; meter ; 0.000001 * x ; 0.001 +length ; point ; meter ; 0.003175/9 * x ; 0.3527778 +length ; millimeter ; meter ; 0.001 * x ; 1.0 +length ; centimeter ; meter ; 0.01 * x ; 10.0 +length ; inch ; meter ; 0.0254 * x ; 25.4 +length ; decimeter ; meter ; 0.1 * x ; 100.0 +length ; foot ; meter ; 0.3048 * x ; 304.8 +length ; yard ; meter ; 0.9144 * x ; 914.4 +length ; meter ; meter ; 1 * x ; 1,000.00 +length ; fathom ; meter ; 1.8288 * x ; 1828.8 +length ; furlong ; meter ; 201.168 * x ; 201168.0 +length ; kilometer ; meter ; 1,000 * x ; 1000000.0 +length ; mile ; meter ; 1,609.344 * x ; 1609344.0 +length ; nautical-mile ; meter ; 1,852 * x ; 1852000.0 +length ; mile-scandinavian ; meter ; 10,000 * x ; 1.0E7 +length ; 100-kilometer ; meter ; 100,000 * x ; 1.0E8 +length ; earth-radius ; meter ; 6,378,100 * x ; 6.3781E9 +length ; solar-radius ; meter ; 695,700,000 * x ; 6.957E11 +length ; astronomical-unit ; meter ; 149,597,870,700 * x ; 1.495979E14 +length ; light-year ; meter ; 9,460,730,472,580,800 * x ; 9.46073E18 +length ; parsec ; meter ; 12,699,352,539,696,155,673,600,000/411,557,987 * x ; 3.085678E19 +luminous-flux ; lumen ; candela-square-meter-per-square-meter ; 1 * x ; 1000.0 +luminous-intensity ; candela ; candela ; 1 * x ; 1,000.00 +mass ; microgram ; kilogram ; 0.000000001 * x ; 1.0E-6 +mass ; milligram ; kilogram ; 0.000001 * x ; 0.001 +mass ; grain ; kilogram ; 0.00006479891 * x ; 0.06479891 +mass ; carat ; kilogram ; 0.0002 * x ; 0.2 +mass ; gram ; kilogram ; 0.001 * x ; 1.0 +mass ; ounce ; kilogram ; 0.028349523125 * x ; 28.34952 +mass ; ounce-troy ; kilogram ; 0.03110348 * x ; 31.10348 +mass ; pound ; kilogram ; 0.45359237 * x ; 453.5924 +mass ; kilogram ; kilogram ; 1 * x ; 1,000.00 +mass ; stone ; kilogram ; 6.35029318 * x ; 6350.293 +mass ; ton ; kilogram ; 907.18474 * x ; 907184.7 +mass ; tonne ; kilogram ; 1,000 * x ; 1000000.0 +mass ; earth-mass ; kilogram ; 5,972,200,000,000,000,000,000,000 * x ; 5.9722E27 +mass ; solar-mass ; kilogram ; 1,988,470,000,000,000,000,000,000,000,000 * x ; 1.98847E33 +portion ; permillion ; portion ; 0.000001 * x ; 0.001 +portion ; permyriad ; portion ; 0.0001 * x ; 0.1 +portion ; permille ; portion ; 0.001 * x ; 1.0 +portion ; percent ; portion ; 0.01 * x ; 10.0 +portion ; karat ; portion ; 0.125/3 * x ; 41.66667 +portion ; portion ; portion ; 1 * x ; 1,000.00 +power ; milliwatt ; kilogram-square-meter-per-cubic-second ; 0.001 * x ; 1.0 +power ; watt ; kilogram-square-meter-per-cubic-second ; 1 * x ; 1000.0 +power ; horsepower ; kilogram-square-meter-per-cubic-second ; 745.69987158227022 * x ; 745699.9 +power ; kilowatt ; kilogram-square-meter-per-cubic-second ; 1,000 * x ; 1000000.0 +power ; megawatt ; kilogram-square-meter-per-cubic-second ; 1,000,000 * x ; 1.0E9 +power ; gigawatt ; kilogram-square-meter-per-cubic-second ; 1,000,000,000 * x ; 1.0E12 +power ; solar-luminosity ; kilogram-square-meter-per-cubic-second ; 382,800,000,000,000,000,000,000,000 * x ; 3.828E29 +pressure ; pascal ; kilogram-per-meter-square-second ; 1 * x ; 1000.0 +pressure ; hectopascal ; kilogram-per-meter-square-second ; 100 * x ; 100000.0 +pressure ; millibar ; kilogram-per-meter-square-second ; 100 * x ; 100000.0 +pressure ; millimeter-ofhg ; kilogram-meter-per-square-meter-square-second ; 133.322387415 * x ; 133322.4 +pressure ; kilopascal ; kilogram-per-meter-square-second ; 1,000 * x ; 1000000.0 +pressure ; inch-ofhg ; kilogram-meter-per-square-meter-square-second ; 3,386.388640341 * x ; 3386389.0 +pressure ; pound-force-per-square-inch ; kilogram-meter-per-square-meter-square-second ; 111,205,540.3815125/16,129 * x ; 6894757.0 +pressure ; bar ; kilogram-per-meter-square-second ; 100,000 * x ; 1.0E8 +pressure ; atmosphere ; kilogram-per-meter-square-second ; 101,325 * x ; 1.01325E8 +pressure ; megapascal ; kilogram-per-meter-square-second ; 1,000,000 * x ; 1.0E9 +pressure-per-length ; ofhg ; kilogram-per-square-meter-square-second ; 133,322.387415 * x ; 1.333224E8 +resolution ; dot-per-inch ; pixel-per-meter ; 5,000/127 * x ; 39370.08 +resolution ; pixel-per-inch ; pixel-per-meter ; 5,000/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 ; 2.5/9 * x ; 277.7778 +speed ; mile-per-hour ; meter-per-second ; 0.44704 * x ; 447.04 +speed ; knot ; meter-per-second ; 4.63/9 * x ; 514.4444 +speed ; meter-per-second ; meter-per-second ; 1 * x ; 1,000.00 +substance-amount ; item ; item ; 1 * x ; 1,000.00 +substance-amount ; mole ; item ; 602,214,076,000,000,000,000,000 * x ; 6.022141E26 +temperature ; fahrenheit ; kelvin ; 5/9 * x - 2,298.35/9 ; 810.9278 +temperature ; kelvin ; kelvin ; 1 * x ; 1,000.00 +temperature ; celsius ; kelvin ; 1 * x - 273.15 ; 1273.15 +typewidth ; em ; em ; 1 * x ; 1,000.00 +voltage ; volt ; kilogram-square-meter-per-cubic-second-ampere ; 1 * x ; 1000.0 +volume ; drop ; cubic-meter ; 0.0000001540287998046875/3 * x ; 5.134293E-5 +volume ; pinch ; cubic-meter ; 0.00000023104319970703125 * x ; 2.310432E-4 +volume ; cubic-centimeter ; cubic-meter ; 0.000001 * x ; 0.001 +volume ; milliliter ; cubic-meter ; 0.000001 * x ; 0.001 +volume ; dessert-spoon ; cubic-meter ; 0.00000184834559765625 * x ; 0.001848346 +volume ; dessert-spoon-imperial ; cubic-meter ; 0.0000022197705078125 * x ; 0.002219771 +volume ; dram ; cubic-meter ; 0.0000036966911953125 * x ; 0.003696691 +volume ; teaspoon ; cubic-meter ; 0.00000492892159375 * x ; 0.004928922 +volume ; centiliter ; cubic-meter ; 0.00001 * x ; 0.01 +volume ; tablespoon ; cubic-meter ; 0.00001478676478125 * x ; 0.01478676 +volume ; cubic-inch ; cubic-meter ; 0.000016387064 * x ; 0.01638706 +volume ; fluid-ounce-imperial ; cubic-meter ; 0.0000284130625 * x ; 0.02841306 +volume ; fluid-ounce ; cubic-meter ; 0.0000295735295625 * x ; 0.02957353 +volume ; jigger ; cubic-meter ; 0.00004436029434375 * x ; 0.04436029 +volume ; deciliter ; cubic-meter ; 0.0001 * x ; 0.1 +volume ; cup ; cubic-meter ; 0.0002365882365 * x ; 0.2365882 +volume ; cup-metric ; cubic-meter ; 0.00025 * x ; 0.25 +volume ; pint ; cubic-meter ; 0.000473176473 * x ; 0.4731765 +volume ; pint-metric ; cubic-meter ; 0.0005 * x ; 0.5 +volume ; quart ; cubic-meter ; 0.000946352946 * x ; 0.9463529 +volume ; liter ; cubic-meter ; 0.001 * x ; 1.0 +volume ; quart-imperial ; cubic-meter ; 0.0011365225 * x ; 1.136522 +volume ; gallon ; cubic-meter ; 0.003785411784 * x ; 3.785412 +volume ; gallon-imperial ; cubic-meter ; 0.00454609 * x ; 4.54609 +volume ; cubic-foot ; cubic-meter ; 0.028316846592 * x ; 28.31685 +volume ; bushel ; cubic-meter ; 0.03523907016688 * x ; 35.23907 +volume ; hectoliter ; cubic-meter ; 0.1 * x ; 100.0 +volume ; barrel ; cubic-meter ; 0.158987294928 * x ; 158.9873 +volume ; cubic-yard ; cubic-meter ; 0.764554857984 * x ; 764.5549 +volume ; cubic-meter ; cubic-meter ; 1 * x ; 1,000.00 +volume ; megaliter ; cubic-meter ; 1,000 * x ; 1000000.0 +volume ; acre-foot ; cubic-meter ; 1,233.48183754752 * x ; 1233482.0 +volume ; cubic-kilometer ; cubic-meter ; 1,000,000,000 * x ; 1.0E12 +volume ; cubic-mile ; cubic-meter ; 4,168,181,825.440579584 * x ; 4.168182E12 +year-duration ; month ; year ; 0.25/3 * x ; 83.33333 +year-duration ; month-person ; year ; 0.25/3 * x ; 83.33333 +year-duration ; quarter ; year ; 0.25 * x ; 250.0 +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 |