activefacts 0.8.6 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/Manifest.txt +33 -2
  2. data/README.rdoc +30 -36
  3. data/Rakefile +16 -20
  4. data/bin/afgen +17 -11
  5. data/bin/cql +313 -36
  6. data/download.html +43 -19
  7. data/examples/CQL/Address.cql +15 -15
  8. data/examples/CQL/Blog.cql +8 -8
  9. data/examples/CQL/CompanyDirectorEmployee.cql +6 -5
  10. data/examples/CQL/Death.cql +3 -3
  11. data/examples/CQL/Diplomacy.cql +48 -0
  12. data/examples/CQL/Genealogy.cql +41 -41
  13. data/examples/CQL/Insurance.cql +311 -0
  14. data/examples/CQL/JoinEquality.cql +35 -0
  15. data/examples/CQL/Marriage.cql +1 -1
  16. data/examples/CQL/Metamodel.cql +290 -185
  17. data/examples/CQL/MetamodelNext.cql +420 -0
  18. data/examples/CQL/Monogamy.cql +24 -0
  19. data/examples/CQL/MonthInSeason.cql +27 -0
  20. data/examples/CQL/Moon.cql +23 -0
  21. data/examples/CQL/MultiInheritance.cql +4 -4
  22. data/examples/CQL/NonRoleId.cql +14 -0
  23. data/examples/CQL/OddIdentifier.cql +18 -0
  24. data/examples/CQL/OilSupply.cql +24 -24
  25. data/examples/CQL/OneToOnes.cql +17 -0
  26. data/examples/CQL/Orienteering.cql +55 -55
  27. data/examples/CQL/OrienteeringER.cql +58 -0
  28. data/examples/CQL/PersonPlaysGame.cql +2 -2
  29. data/examples/CQL/RedundantDependency.cql +34 -0
  30. data/examples/CQL/SchoolActivities.cql +5 -5
  31. data/examples/CQL/SeparateSubtype.cql +28 -0
  32. data/examples/CQL/ServiceDirector.cql +283 -0
  33. data/examples/CQL/SimplestUnary.cql +2 -2
  34. data/examples/CQL/SubtypePI.cql +11 -11
  35. data/examples/CQL/Supervision.cql +38 -0
  36. data/examples/CQL/Tests.Test5.Load.cql +38 -0
  37. data/examples/CQL/WaiterTips.cql +33 -0
  38. data/examples/CQL/Warehousing.cql +55 -53
  39. data/examples/CQL/WindowInRoomInBldg.cql +9 -9
  40. data/examples/CQL/unit.cql +433 -544
  41. data/examples/index.html +314 -170
  42. data/examples/intro.html +6 -176
  43. data/examples/local.css +8 -4
  44. data/index.html +40 -25
  45. data/lib/activefacts/api/concept.rb +2 -2
  46. data/lib/activefacts/api/constellation.rb +4 -4
  47. data/lib/activefacts/api/instance.rb +2 -2
  48. data/lib/activefacts/api/instance_index.rb +4 -0
  49. data/lib/activefacts/api/numeric.rb +3 -1
  50. data/lib/activefacts/api/role.rb +1 -1
  51. data/lib/activefacts/api/standard_types.rb +23 -16
  52. data/lib/activefacts/api/support.rb +3 -1
  53. data/lib/activefacts/api/vocabulary.rb +4 -0
  54. data/lib/activefacts/cql/CQLParser.treetop +87 -39
  55. data/lib/activefacts/cql/Concepts.treetop +95 -69
  56. data/lib/activefacts/cql/Context.treetop +11 -2
  57. data/lib/activefacts/cql/Expressions.treetop +23 -59
  58. data/lib/activefacts/cql/FactTypes.treetop +141 -95
  59. data/lib/activefacts/cql/Language/English.treetop +33 -21
  60. data/lib/activefacts/cql/LexicalRules.treetop +6 -1
  61. data/lib/activefacts/cql/Terms.treetop +75 -26
  62. data/lib/activefacts/cql/ValueTypes.treetop +52 -54
  63. data/lib/activefacts/cql/compiler.rb +46 -1691
  64. data/lib/activefacts/cql/compiler/constraint.rb +602 -0
  65. data/lib/activefacts/cql/compiler/entity_type.rb +425 -0
  66. data/lib/activefacts/cql/compiler/fact.rb +300 -0
  67. data/lib/activefacts/cql/compiler/fact_type.rb +230 -0
  68. data/lib/activefacts/cql/compiler/reading.rb +832 -0
  69. data/lib/activefacts/cql/compiler/shared.rb +109 -0
  70. data/lib/activefacts/cql/compiler/value_type.rb +104 -0
  71. data/lib/activefacts/cql/parser.rb +132 -81
  72. data/lib/activefacts/generate/cql.rb +397 -274
  73. data/lib/activefacts/generate/oo.rb +13 -12
  74. data/lib/activefacts/generate/ordered.rb +107 -117
  75. data/lib/activefacts/generate/ruby.rb +34 -38
  76. data/lib/activefacts/generate/sql/mysql.rb +62 -45
  77. data/lib/activefacts/generate/sql/server.rb +59 -42
  78. data/lib/activefacts/input/cql.rb +6 -3
  79. data/lib/activefacts/input/orm.rb +991 -557
  80. data/lib/activefacts/persistence/columns.rb +16 -12
  81. data/lib/activefacts/persistence/foreignkey.rb +7 -4
  82. data/lib/activefacts/persistence/index.rb +3 -4
  83. data/lib/activefacts/persistence/reference.rb +5 -2
  84. data/lib/activefacts/support.rb +20 -14
  85. data/lib/activefacts/version.rb +1 -1
  86. data/lib/activefacts/vocabulary.rb +1 -0
  87. data/lib/activefacts/vocabulary/extensions.rb +328 -44
  88. data/lib/activefacts/vocabulary/metamodel.rb +145 -20
  89. data/lib/activefacts/vocabulary/verbaliser.rb +621 -0
  90. data/spec/absorption_spec.rb +4 -4
  91. data/spec/api/value_type.rb +1 -1
  92. data/spec/cql/context_spec.rb +45 -22
  93. data/spec/cql/deontic_spec.rb +88 -0
  94. data/spec/cql/matching_spec.rb +517 -0
  95. data/spec/cql/samples_spec.rb +88 -31
  96. data/spec/cql/unit_spec.rb +58 -37
  97. data/spec/cql_cql_spec.rb +12 -7
  98. data/spec/cql_mysql_spec.rb +3 -7
  99. data/spec/cql_parse_spec.rb +0 -4
  100. data/spec/cql_ruby_spec.rb +1 -4
  101. data/spec/cql_sql_spec.rb +5 -18
  102. data/spec/cql_symbol_tables_spec.rb +3 -0
  103. data/spec/cqldump_spec.rb +0 -2
  104. data/spec/helpers/array_matcher.rb +35 -0
  105. data/spec/helpers/ctrl_c_support.rb +52 -0
  106. data/spec/helpers/diff_matcher.rb +38 -0
  107. data/spec/helpers/file_matcher.rb +5 -3
  108. data/spec/helpers/string_matcher.rb +39 -0
  109. data/spec/helpers/test_parser.rb +13 -0
  110. data/spec/norma_cql_spec.rb +13 -5
  111. data/spec/norma_ruby_spec.rb +11 -3
  112. data/spec/{absorption_ruby_spec.rb → norma_ruby_sql_spec.rb} +37 -32
  113. data/spec/norma_sql_spec.rb +11 -5
  114. data/spec/norma_tables_spec.rb +33 -29
  115. data/spec/spec_helper.rb +4 -1
  116. data/status.html +92 -23
  117. metadata +102 -36
  118. data/lib/activefacts/generate/cql/html.rb +0 -403
@@ -3,18 +3,18 @@ vocabulary Warehousing;
3
3
  /*
4
4
  * Value Types
5
5
  */
6
- BinID is written as AutoCounter;
7
- DispatchID is written as AutoCounter;
8
- DispatchItemID is written as AutoCounter;
9
- PartyID is written as AutoCounter;
10
- ProductID is written as AutoCounter;
11
- PurchaseOrderID is written as AutoCounter;
12
- Quantity is written as UnsignedInteger(32);
13
- ReceiptID is written as AutoCounter;
14
- ReceivedItemID is written as AutoCounter;
15
- SalesOrderID is written as AutoCounter;
16
- TransferRequestID is written as AutoCounter;
17
- WarehouseID is written as AutoCounter;
6
+ Bin ID is written as Auto Counter;
7
+ Dispatch ID is written as Auto Counter;
8
+ Dispatch Item ID is written as Auto Counter;
9
+ Party ID is written as Auto Counter;
10
+ Product ID is written as Auto Counter;
11
+ Purchase Order ID is written as Auto Counter;
12
+ Quantity is written as Unsigned Integer(32);
13
+ Receipt ID is written as Auto Counter;
14
+ Received Item ID is written as Auto Counter;
15
+ Sales Order ID is written as Auto Counter;
16
+ Transfer Request ID is written as Auto Counter;
17
+ Warehouse ID is written as Auto Counter;
18
18
 
19
19
  /*
20
20
  * Entity Types
@@ -25,72 +25,74 @@ Bin contains one Quantity,
25
25
 
26
26
  Dispatch is identified by its ID;
27
27
 
28
- DispatchItem is identified by its ID;
29
- Dispatch is of at least one DispatchItem,
30
- DispatchItem is for at most one Dispatch;
31
- DispatchItem is in one Quantity;
28
+ Dispatch Item is identified by its ID;
29
+ Dispatch is of at least one Dispatch Item,
30
+ Dispatch Item is for at most one Dispatch;
31
+ Dispatch Item is in one Quantity;
32
32
 
33
33
  Party is identified by its ID;
34
34
 
35
35
  Product is identified by its ID;
36
- DispatchItem is one Product;
36
+ Dispatch Item is one Product;
37
37
  Product is stocked in Bin,
38
38
  Bin contains at most one Product;
39
39
 
40
- PurchaseOrder is identified by its ID;
40
+ Purchase Order is identified by its ID;
41
41
 
42
- PurchaseOrderItem is identified by PurchaseOrder and Product where
43
- PurchaseOrder includes PurchaseOrderItem,
44
- PurchaseOrderItem is part of one PurchaseOrder,
45
- PurchaseOrderItem is for one Product;
46
- PurchaseOrderItem is in one Quantity;
42
+ Purchase Order Item is identified by Purchase Order and Product where
43
+ Purchase Order includes Purchase Order Item,
44
+ Purchase Order Item is part of one Purchase Order,
45
+ Purchase Order Item is for one Product,
46
+ Product is in Purchase Order Item;
47
+ Purchase Order Item is in one Quantity;
47
48
 
48
49
  Receipt is identified by its ID;
49
50
 
50
- ReceivedItem is identified by its ID;
51
- Receipt is of at least one ReceivedItem,
52
- ReceivedItem has at most one Receipt;
53
- ReceivedItem is one Product;
54
- ReceivedItem is for at most one PurchaseOrderItem;
55
- ReceivedItem is in one Quantity;
51
+ Received Item is identified by its ID;
52
+ Receipt is of at least one Received Item,
53
+ Received Item has at most one Receipt;
54
+ Received Item is one Product;
55
+ Received Item is for at most one Purchase Order Item;
56
+ Received Item is in one Quantity;
56
57
 
57
- SalesOrder is identified by its ID;
58
+ Sales Order is identified by its ID;
58
59
 
59
- SalesOrderItem is identified by SalesOrder and Product where
60
- SalesOrder includes SalesOrderItem,
61
- SalesOrderItem is part of one SalesOrder,
62
- SalesOrderItem is for one Product;
63
- DispatchItem is for at most one SalesOrderItem;
64
- SalesOrderItem is in one Quantity;
60
+ Sales Order Item is identified by Sales Order and Product where
61
+ Sales Order includes Sales Order Item,
62
+ Sales Order Item is part of one Sales Order,
63
+ Sales Order Item is for one Product,
64
+ Product is in Sales Order Item;
65
+ Dispatch Item is for at most one Sales Order Item;
66
+ Sales Order Item is in one Quantity;
65
67
 
66
68
  Supplier is a kind of Party;
67
- PurchaseOrder is to one Supplier,
68
- Supplier supplies PurchaseOrder;
69
+ Purchase Order is to one Supplier,
70
+ Supplier supplies Purchase Order;
69
71
 
70
- TransferRequest is identified by its ID;
71
- DispatchItem is for at most one TransferRequest;
72
- ReceivedItem is for at most one TransferRequest;
72
+ Transfer Request is identified by its ID;
73
+ Dispatch Item is for at most one Transfer Request;
74
+ Received Item is for at most one Transfer Request;
73
75
 
74
76
  Warehouse is identified by its ID;
75
- PurchaseOrder is to one Warehouse;
76
- SalesOrder is from one Warehouse;
77
- TransferRequest is at most one from-Warehouse;
78
- TransferRequest is at most one to-Warehouse;
77
+ Purchase Order is to one Warehouse;
78
+ Sales Order is from one Warehouse;
79
+ Transfer Request is at most one from-Warehouse;
80
+ Transfer Request is at most one to-Warehouse;
79
81
  Warehouse contains at least one Bin;
80
82
 
81
83
  Customer is a kind of Party;
82
- Customer made SalesOrder,
83
- SalesOrder was made by one Customer;
84
+ Customer made Sales Order,
85
+ Sales Order was made by one Customer;
84
86
 
85
- DirectOrderMatch is where
86
- PurchaseOrderItem matches SalesOrderItem;
87
+ Direct Order Match is where
88
+ Purchase Order Item matches Sales Order Item;
87
89
 
88
90
  /*
89
91
  * Constraints:
90
92
  */
91
- either DispatchItem is for TransferRequest or DispatchItem is for SalesOrderItem but not both;
92
- either ReceivedItem is for PurchaseOrderItem or ReceivedItem is for TransferRequest but not both;
93
- PurchaseOrderItem matches SalesOrderItem
94
- only if PurchaseOrderItem is for Product and SalesOrderItem is for Product;
93
+ either Dispatch Item is for Transfer Request or Dispatch Item is for Sales Order Item but not both;
94
+ either Received Item is for Purchase Order Item or Received Item is for Transfer Request but not both;
95
+ Purchase Order Item matches Sales Order Item
96
+ only if Purchase Order Item is for Product that is in Sales Order Item;
95
97
  each Bin occurs at most one time in
96
98
  Warehouse contains Bin;
@@ -3,20 +3,20 @@ vocabulary WindowInRoomInBldg;
3
3
  /*
4
4
  * Value Types
5
5
  */
6
- Building is written as SignedInteger(32);
7
- RoomNumber is written as SignedInteger(32);
8
- WallNumber is written as SignedInteger(32);
9
- WindowNumber is written as UnsignedInteger(32);
6
+ Building is written as Signed Integer(32);
7
+ Room Number is written as Signed Integer(32);
8
+ Wall Number is written as Signed Integer(32);
9
+ Window Number is written as Unsigned Integer(32);
10
10
 
11
11
  /*
12
12
  * Entity Types
13
13
  */
14
- Room is identified by Building and RoomNumber where
14
+ Room is identified by Building and Room Number where
15
15
  Room is in one Building,
16
- Room has one RoomNumber;
16
+ Room has one Room Number;
17
17
 
18
- Window is identified by Room and WallNumber and WindowNumber where
18
+ Window is identified by Room and Wall Number and Window Number where
19
19
  Window is in one Room,
20
- Window is located in one WallNumber,
21
- Window has one WindowNumber;
20
+ Window is located in one Wall Number,
21
+ Window has one Window Number;
22
22
 
@@ -1,584 +1,473 @@
1
1
  vocabulary Units;
2
2
 
3
- // primitive units:
4
- // m kg sec coul candela dollar bit erlang K
5
-
6
- // prefixes
7
- 1e24 converts to yotta;
8
- 1e21 converts to zetta;
9
- 1e18 converts to exa;
10
- 1e15 converts to peta;
11
- 1e12 converts to tera;
12
- 1e9 converts to giga;
13
- 1e6 converts to mega;
14
- 1e4 converts to myria;
15
- 1e3 converts to kilo;
16
- 1e2 converts to hecto;
17
- 1e1 converts to deka;
18
- 1e-1 converts to deci;
19
- 1e-2 converts to centi;
20
- 1e-3 converts to milli;
21
- 1e-6 converts to micro;
22
- 1e-9 converts to nano;
23
- 1e-12 converts to pico;
24
- 1e-15 converts to femto;
25
- 1e-18 converts to atto;
26
- 1e-21 converts to zopto;
27
- 1e-24 converts to yocto;
28
- 0.5 converts to semi;
3
+ /*
4
+ * Units
5
+ */
6
+ 1 converts to K;
7
+ 0.000000000000000001 converts to atto;
8
+ 13.0 converts to bakersdozen;
9
+ 1 converts to bit;
10
+ 8.0 bit converts to byte;
11
+ 1 converts to candela;
12
+ 1.02 candela converts to candle;
13
+ 1.0/24 converts to caratgold;
14
+ 1 candela converts to cd;
15
+ 0.01 converts to centi;
16
+ 1 converts to coul;
17
+ 1 coul converts to coulomb;
18
+ 0.1 converts to deci;
19
+ 1 K + 273.15 converts to degC;
20
+ 5.0/9 degC + 32.0 converts to degF;
21
+ 5.0/4 degC converts to degreaumur;
22
+ 1 degF converts to degreerankine;
23
+ 1 degF converts to degreesrankine;
24
+ 10.0 converts to deka;
29
25
  0.5 converts to demi;
30
-
31
- 1 yotta converts to Y;
32
- 1 zetta converts to Z;
26
+ 12.0 converts to dozen;
27
+ 0.00000000000000000016021917 coul converts to e approximately;
28
+ 1 converts to erlang;
29
+ 1000000000000000000.0 converts to exa;
30
+ 1152921504606846976.0 converts to exbi;
31
+ 96520.0 coul converts to faraday;
32
+ 0.000000000000001 converts to femto;
33
+ 0.000000000333564 coul converts to franklin;
34
+ 1073741824.0 converts to gibi;
35
+ 1000000000.0 converts to giga;
36
+ 144.0 converts to gross;
37
+ 100.0 converts to hecto;
38
+ 0.92 cd converts to hefnercandle;
39
+ 1.20095 converts to imperial;
40
+ 1.0/24 converts to karat;
41
+ 1024.0 byte converts to kbyte;
42
+ 1 K converts to kelvin;
43
+ 1 converts to kg;
44
+ 1024.0 converts to kibi;
45
+ 1000.0 converts to kilo;
46
+ 0.45359237 kg converts to lb;
47
+ 112.0 lb converts to longhundredweight;
48
+ 28.0 lb converts to longquarter;
49
+ 2240.0 lb converts to longton;
50
+ 1 converts to m;
51
+ 5972230000000000000000000.0 kg converts to m_earth;
52
+ 73400000000000000000000.0 kg converts to m_moon;
53
+ 1988430000000000000000000000000.0 kg converts to m_sun;
54
+ 1048576.0 converts to mebi;
55
+ 1000000.0 converts to mega;
56
+ 1024.0 kbyte converts to megabyte;
57
+ 1 m converts to meter;
58
+ 1 meter converts to metre;
59
+ 1000.0 kg converts to metricton;
60
+ 0.000001 converts to micro;
61
+ 0.000001 meter converts to micron;
62
+ 0.001 converts to milli;
63
+ 0.001 m converts to mm;
64
+ 602216900000000000000000.0 converts to mole approximately;
65
+ 10000.0 converts to myria;
66
+ 0.000000001 converts to nano;
67
+ 0.0000000000000000000000000016606 kg converts to neutronmass;
68
+ 1 cd m^-2 converts to nit;
69
+ 1852.0 m converts to nmile;
70
+ 1.0/16 lb converts to ounce;
71
+ 1 ounce converts to oz;
72
+ 1125899906842624.0 converts to pebi;
73
+ 1.0/20 oz converts to pennyweight;
74
+ 1000000000000000.0 converts to peta;
75
+ 3.14159265358979 converts to pi;
76
+ 0.000000000001 converts to pico;
77
+ 1 lb converts to pound;
78
+ 1.0/200 converts to proof;
79
+ 0.0000000000000000000000000016726 kg converts to protonmass;
80
+ 1 pennyweight converts to pwt;
81
+ 100.0 kg converts to quintal;
82
+ 25.0 converts to quire;
83
+ 0.5 pi converts to radian;
84
+ 500.0 converts to ream;
85
+ 1 converts to sec;
86
+ 1 sec converts to second;
87
+ 0.5 converts to semi;
88
+ 100.0 lb converts to shorthundredweight;
89
+ 25.0 lb converts to shortquarter;
90
+ 2000.0 lb converts to shortton;
91
+ 0.000001 sec converts to sigma;
92
+ 0.000000000333564095198152 coul converts to statcoul;
93
+ 1 statcoul converts to statcoulomb;
94
+ 1 radian^2 converts to steradian;
95
+ 1 m^3 converts to stere;
96
+ 100.0 cd m^-2 converts to stilb;
97
+ 0.0001 m^2 sec^-1 converts to stoke;
98
+ 14.0 lb converts to stone;
99
+ 1099511627776.0 converts to tebi;
100
+ 1000000000000.0 converts to tera;
101
+ 4600000.0 m^2 sec^-2 converts to tnt;
102
+ 1 shortton converts to ton;
103
+ 0.000001 sec converts to us;
104
+ 252.0 lb converts to weymass;
105
+ 0.000000000000000000000001 converts to yocto;
106
+ 1000000000000000000000000.0 converts to yotta;
107
+ 1000000000000000000000.0 converts to zetta;
108
+ 0.000000000000000000001 converts to zopto;
109
+ 1 coul converts to C;
33
110
  1 exa converts to E;
34
- 1 peta converts to P;
35
- 1 tera converts to T;
111
+ 1 exbi converts to Ei;
36
112
  1 giga converts to G;
113
+ 1 gibi converts to Gi;
114
+ 1 kibi converts to Ki;
37
115
  1 mega converts to M;
38
- 1 kilo converts to k;
39
- 1 hecto converts to h;
40
- 1 deka converts to da;
41
- 1 deci converts to d;
42
- 1 centi converts to c;
43
- 1 milli converts to m;
44
- 1 nano converts to n;
45
- 1 pico converts to p;
46
- 1 femto converts to f;
47
- 1 atto converts to a;
48
- 1 zopto converts to z;
49
- 1 yocto converts to y;
50
-
51
- // binary prefixes introduced in 1999
52
- 1152921504606846976 converts to exbi;
53
- 1125899906842624 converts to pebi;
54
- 1099511627776 converts to tebi;
55
- 1073741824 converts to gibi;
56
- 1048576 converts to mebi;
57
- 1024 converts to kibi;
58
- 1 exbi converts to Ei;
116
+ 1 mebi converts to Mi;
117
+ 1 peta converts to P;
59
118
  1 pebi converts to Pi;
119
+ 1 tera converts to T;
60
120
  1 tebi converts to Ti;
61
- 1 gibi converts to Gi;
62
- 1 mebi converts to Mi;
63
- 1 kibi converts to Ki;
64
-
65
- // Dimensionless Constants
66
- 13 converts to bakersdozen;
67
- 1/24 converts to caratgold;
68
- 12 converts to dozen;
69
- 144 converts to gross;
70
- 1/24 converts to karat;
71
- 6.022169e+23 converts to mole approximately;
72
- 3.14159265358979 converts to pi;
73
- 1/200 converts to proof;
74
- 25 converts to quire;
75
- 500 converts to ream;
76
- 0.5 pi converts to radian;
77
- 1/180 pi radian converts to degree;
78
- 2 pi radian converts to circle;
79
- 1 circle converts to turn;
80
- 1 turn converts to revolution;
81
- 1 turn converts to rev;
121
+ 0.000000000000100202 m converts to Xunit;
122
+ 1 yotta converts to Y;
123
+ 1 zetta converts to Z;
124
+ 1 atto converts to a;
125
+ 1 coul sec^-1 converts to ampere;
126
+ 0.0000000001 meter converts to angstrom;
127
+ 1 cd pi^-1 m^-2 converts to apostilb;
128
+ 100.0 m^2 converts to are;
129
+ 0.00000000000000000000000000166044 kg converts to atomicmassunit approximately;
130
+ 149597871000.0 m converts to au approximately;
131
+ 94.0 lb converts to bag;
132
+ 0.0000000000000000000000000001 m^2 converts to barn;
133
+ 1 bit sec^-1 converts to baud;
134
+ 0.000000000066739 m^3 kg^-1 sec^-2 converts to bigG;
135
+ 512.0 byte converts to block;
136
+ 1 cd pi^-1 m^-2 converts to blondel;
137
+ 1 centi converts to c;
138
+ 0.01 m^3 converts to cc;
139
+ 1.0/36 erlang converts to ccs;
140
+ 100.0 lb converts to cental;
141
+ 2.0 pi radian converts to circle;
142
+ 37000000000.0 sec^-1 converts to curie;
143
+ 1 deci converts to d;
144
+ 1 deka converts to da;
145
+ 0.000000000000000000000000000003336 coul m converts to debye;
146
+ 1 degreesrankine converts to degrankine;
147
+ 1.0/180 pi radian converts to degree;
148
+ 1 m^-1 converts to dipotre;
149
+ 100.0 kg converts to doppelzentner;
150
+ 1.0/16 oz converts to dram;
151
+ 0.0003 m^3 converts to drop;
152
+ 0.00000000000000000000000000000091095 kg converts to electronmass;
153
+ 100.0 cd pi^-1 m^-2 converts to equivalentphot;
154
+ 1 femto converts to f;
155
+ 0.000000000000001 m converts to fermi;
156
+ 9.80665 m sec^-2 converts to g;
157
+ 0.01 m sec^-2 converts to galileo;
158
+ 1852.0 m converts to geographicalmile;
159
+ 1024.0 megabyte converts to gigabyte;
82
160
  0.9 degree converts to grade;
83
-
84
- // Dimensional constants
85
- 9.80665 m sec^-2 converts to g; // Average gravitational pull at sea level
86
- 6.6739e-11 m^3 kg^-1 sec^-2 converts to bigG; // The gravtational constant
87
- 299792458.0 m sec^-1 converts to lightspeed approximately; // Speed of light
88
- 149597871000.0 m converts to au approximately; // Astronomical unit
89
- 1.6021917e-19 coul converts to e approximately; // Charge on an electron
90
- 1 lightspeed^2 converts to energy; // Thanks Einstein!
91
- 133322.0 kg m^-2 sec^-2 converts to mercury; // Atmospheric pressure
92
- 1.0e-15 m converts to fermi;
93
- 1 g converts to force;
94
- 1 mercury converts to hg;
95
- 1 degree converts to arcdeg;
96
- 1/60 arcdeg converts to arcmin;
97
- 1/60 arcmin converts to arcsec;
98
- 1/36 erlang converts to ccs;
99
- 1 radian^2 converts to steradian;
100
- 4 pi steradian converts to sphere;
101
- 1 steradian converts to sr;
102
-
103
- // Time
104
- 1 sec converts to second;
105
- 1 sec converts to s;
106
- 60 sec converts to minute;
107
- 1 minute converts to min;
108
- 60 min converts to hour;
109
- 1 hour converts to hr;
110
- 24 hr converts to day;
111
- 7 day converts to week;
112
- 14 day converts to fortnight;
113
- 365.24219879 day converts to year approximately;
114
- 1 year converts to yr;
115
- 1/12 year converts to month;
116
- 1 month converts to mo;
117
- 1.0e-06 sec converts to us;
118
- 10 yr converts to decade;
119
- 100 year converts to century;
120
- 1000 year converts to millennium;
121
- 1 rev minute^-1 converts to rpm;
122
- 1 rev sec^-1 converts to rps;
123
-
124
- // Mass
161
+ 1.0/7000 lb converts to grain;
125
162
  0.001 kg converts to gram;
126
- 1 gram converts to gm;
127
163
  1 gram converts to gramme;
128
- 100 kg converts to quintal;
129
- 1000.0 kg converts to metricton;
130
- 1000000.0 gm converts to tonne;
131
-
132
- // Avoirdupois and Apothecary
133
- 0.45359237 kg converts to lb;
134
- 1 lb converts to pound;
164
+ 1 hecto converts to h;
165
+ 10000.0 m^2 converts to hectare;
166
+ 1 sec^-1 converts to hertz;
167
+ 1 sec^-1 converts to hz;
168
+ 25.4 mm converts to inch/inches;
169
+ 0.0000628 gram converts to iudiptheria;
170
+ 0.00004167 gram converts to iuinsulin;
171
+ 0.0000006 gram converts to iupenicillin;
172
+ 0.002 gram converts to jewlerspoint;
173
+ 1 kilo converts to k;
174
+ 1 kg converts to key;
175
+ 1000.0 sec^-1 converts to khz;
176
+ 100.0 cd pi^-1 m^-2 converts to lambert;
135
177
  1 lb g converts to lbf;
136
- 1/16 lb converts to ounce;
137
- 1 ounce converts to oz;
138
- 1/16 oz converts to dram;
139
- 1 dram converts to dr;
140
- 1/7000 lb converts to grain;
141
- 60 grain converts to drachm;
142
- 1 grain converts to gr;
143
- 2000 lb converts to shortton;
144
- 1 shortton converts to ton;
145
- 2240 lb converts to longton;
146
- 14 lb converts to stone;
147
- 100 lb converts to shorthundredweight;
148
- 25 lb converts to shortquarter;
149
- 112 lb converts to longhundredweight;
150
- 28 lb converts to longquarter;
151
- 252 lb converts to weymass;
152
- 94 lb converts to bag;
153
- 100 lb converts to cental;
154
- 20 grain converts to scruple;
155
- 60 grain converts to apdram;
156
- 480 grain converts to apounce;
157
- 5760 grain converts to appound;
158
- 1 appound converts to troypound;
159
-
160
- // Length, Area and Volume
161
- 1 m converts to meter;
162
- 1 meter converts to metre;
163
- 0.001 m converts to mm;
164
- 1.0e-06 meter converts to micron;
165
- 1.0e-10 meter converts to angstrom;
166
- 0.01 m^3 converts to cc;
178
+ 299792458.0 m sec^-1 converts to lightspeed approximately;
167
179
  1000.0 cc converts to liter;
168
180
  1 liter converts to litre;
169
- 0.001 liter converts to ml;
170
- 100.0 m^2 converts to are;
171
- 10000.0 m^2 converts to hectare;
172
- 0.0003 m^3 converts to drop;
173
-
174
- 25.4 mm converts to inch/inches;
175
- 1 inch converts to in;
176
- 12 in converts to foot/feet;
177
- 1 foot converts to ft;
178
- 3 ft converts to yard;
179
- 1 yard converts to yd;
180
- 5.5 yd converts to rod;
181
- 1 rod converts to rd;
182
- 1 rd converts to perch;
183
- 1 rd converts to pole;
184
- 5280 ft converts to mile;
185
- 1 mile converts to mi;
186
- 100 ft^2 converts to square;
187
- 1210.0 yd converts to rood;
188
- 33/50 ft converts to link;
189
- 4840 yd^2 converts to acre;
190
- 0.001 in converts to mil;
191
- 0.01 in converts to caliber;
192
- 1/40 in converts to bottommeasure;
193
- 1/12 in converts to line;
194
- 1/3 in converts to barleycorn;
195
- 3 in converts to palm;
196
- 4 in converts to hand;
197
- 9 in converts to quarter;
198
- 9 in converts to span;
199
- 18 in converts to cubit;
200
- 45 in converts to ell;
201
- 7/8 in converts to finger;
202
- 1.5 ft^3 min^-1 converts to minersinch;
203
- 16/15 ft converts to frenchfoot;
204
- 1 frenchfoot converts to frenchfeet;
205
- 6 frenchfeet converts to toise;
206
- 36 in converts to pace;
207
- 2.5 feet converts to militarypace;
208
- 1 ft converts to engineerslink;
209
- 100 ft converts to engineerschain;
210
-
211
181
  331.46 m sec^-1 converts to mach;
212
- 1 mile hr^-1 converts to mph;
213
-
214
- // Nautical
215
- 3 mi converts to league;
216
- 1852 m converts to nmile;
217
- 3 nmile converts to marineleague;
182
+ 3.0 nmile converts to marineleague;
183
+ 1 megabyte converts to meg;
184
+ 133322.0 kg m^-2 sec^-2 converts to mercury;
185
+ 0.2 g converts to metriccarat;
186
+ 1 meter gram^-1 converts to metricyarncount;
187
+ 1000000.0 sec^-1 converts to mhz;
188
+ 60.0 sec converts to minute;
189
+ 0.001 liter converts to ml;
190
+ 1 nano converts to n;
218
191
  1 nmile converts to nauticalmile;
219
- 6 ft converts to fathom;
220
- 1 nmile hr^-1 converts to knot;
221
- 6080 ft hr^-1 converts to admiraltyknot;
222
- 100 ft^3 converts to registerton;
223
- 40 ft^3 converts to shippington;
224
- 35 ft^3 converts to displacementton;
225
-
226
- // US Liquid
227
- 231 in^3 converts to gallon;
228
- 1.20095 converts to imperial;
229
- 1 gallon converts to gal;
230
- 1/4 gal converts to quart;
231
- 1 quart converts to qt;
232
- 1/2 qt converts to pint;
233
- 1 pint converts to pt;
234
- 1/16 pt converts to floz;
235
- 1/8 floz converts to fldr;
236
- 3/2 floz converts to shot;
237
-
238
- // US dry measures
239
- 268.8025 in^3 gallon^-1 converts to dry approximately;
240
- 8 dry quart converts to peck;
241
- 1 peck converts to pk;
242
- 4 peck converts to bushel;
243
- 1 bushel converts to bu;
244
- 36 bushel converts to chaldron;
245
- 4 bu converts to coomb;
246
- 80 bu converts to last;
247
- 3 bu converts to sack;
248
- 8 bu converts to seam;
249
- 2 bu converts to strike;
250
- 40 bu converts to wey;
251
-
252
- // British dry
253
- 277.42 in^3 converts to brgallon approximately;
254
- 1/4 brgallon converts to brquart;
255
- 1/2 brquart converts to brpint;
256
- 1/20 brpint converts to brfloz;
257
- 554.84 in^3 converts to brpeck approximately;
258
- 4 brpeck converts to brbushel;
259
- 37.5 brgallon converts to cran;
260
-
261
- // Energy and Work
262
192
  1 kg m sec^-2 converts to newton;
263
193
  1 newton converts to nt;
264
- 1 newton converts to N;
265
- 1 nt m converts to joule;
266
- 4.1868 joule converts to cal;
267
- 1000000.0 cal converts to thermie;
268
- 550 ft lb g sec^-1 converts to horsepower;
269
- 1 horsepower converts to hp;
270
- 0.01 m gm sec^-2 converts to dyne;
271
- 0.01 m^2 gm sec^-2 converts to erg;
272
- 1 cal converts to calorie;
273
- 1055.06 joule converts to britishthermalunit approximately;
274
- 1 britishthermalunit converts to btu;
275
- 100000.0 btu converts to therm;
276
- 1000.0 cal converts to frigorie;
277
-
278
- // Electrical
279
- 1 coul converts to coulomb;
280
- 1 coul converts to C;
281
- 3.336e-30 coul m converts to debye;
282
- 1 coul sec^-1 converts to ampere;
283
- 1 ampere converts to amp;
284
- 1 joule sec^-1 converts to watt;
285
- 1 watt amp^-1 converts to volt;
286
- 1 volt amp^-1 converts to ohm;
287
- 1 ohm^-1 converts to siemens;
288
- 1 ohm^-1 converts to mho;
289
- 1 coul volt^-1 converts to farad;
290
- 1 sec^2 farad^-1 converts to henry;
291
- 0.001 henry converts to mh;
292
- 1 volt sec converts to weber;
293
- 1 weber m^-2 converts to tesla;
294
- 1 volt converts to V;
295
- 1000.0 ohm converts to kilohm;
296
- 1000000.0 ohm converts to megohm;
297
- 0.0001 weber m^-2 converts to gauss;
298
- 1.0e-08 weber converts to maxwell;
299
- 1.0e-12 farad converts to pf;
300
- 3.33564095198152e-10 coul converts to statcoul;
301
- 1 statcoul converts to statcoulomb;
302
- 96520.0 coul converts to faraday;
303
- 3.33564e-10 coul converts to franklin;
304
- 10 amp converts to biot;
305
- 0.795775 amp converts to gilbert;
306
- 250.0 pi amp m^-1 converts to oersted;
307
- 1 oersted converts to oe;
308
- 3.33564095198152e-10 amp converts to statamp;
309
- 1 statamp converts to statampere;
310
- 299.792458 volt converts to statvolt;
311
-
312
- // Frequency
313
- 1 sec^-1 converts to hertz;
314
- 1 hertz converts to Hz;
315
- 1 sec^-1 converts to hz;
316
- 1000.0 sec^-1 converts to khz;
317
- 1000000.0 sec^-1 converts to mhz;
318
- 1000000.0 sec^-1 converts to rutherford;
319
- 1000000000000.0 hertz converts to fresnel;
320
-
321
- // Light
322
- 1 candela converts to cd;
323
- 1.02 candela converts to candle;
324
- 1 cd sr converts to lumen;
325
- 1 cd sr m^-2 converts to lux;
326
- 1 lumen ft^-2 converts to footcandle;
327
- 1 cd pi^-1 ft^-2 converts to footlambert;
328
- 1 cd m^-2 converts to nit;
329
- 0.92 cd converts to hefnercandle;
330
- 100.0 cd m^-2 converts to stilb;
331
- 1 cd pi^-1 m^-2 converts to apostilb;
332
- 1 cd pi^-1 m^-2 converts to blondel;
333
- 100.0 cd pi^-1 m^-2 converts to equivalentphot;
334
- 100.0 cd pi^-1 m^-2 converts to lambert;
335
- 1 lumen pi^-1 ft^-2 converts to equivalentfootcandle;
336
- 100.0 lumen m^-2 converts to phot;
337
- 1 lumen pi^-1 m^-2 converts to equivalentlux;
338
- 0.001 lux converts to nox;
339
-
340
- // Computer terms
341
- 1 bit sec^-1 converts to baud;
342
- 8 bit converts to byte;
343
- 512 byte converts to block;
344
- 1024 byte converts to kbyte;
345
- 1024 kbyte converts to megabyte;
346
- 1024 megabyte converts to gigabyte;
347
- 1 megabyte converts to meg;
348
-
349
- // Temperature
350
- 1 K + 273.15 converts to degC;
351
- 5/9 degC + 32 converts to degF;
352
- 1 K converts to kelvin;
353
- 5/4 degC converts to degreaumur;
354
- 1 degF converts to degreerankine;
355
- 1 degF converts to degreesrankine;
356
- 1 degreesrankine converts to degrankine;
357
-
358
- // Astronomical
359
- 23.934469444 hour converts to siderealday;
360
- 1/24 siderealday converts to siderealhour;
361
- 27.32152777 day converts to siderealmonth;
362
- 365.256360417 day converts to siderealyear;
363
- 29.5305555 day converts to lunarmonth;
364
- 12 lunarmonth converts to lunaryear;
365
- 1 lunarmonth converts to synodicmonth;
366
- 1 lightspeed yr converts to lightyear;
367
- 1 year converts to solaryear;
368
- 1 year converts to tropicalyear;
369
- 5.97223e+24 kg converts to m_earth;
370
- 7.34e+22 kg converts to m_moon;
371
- 1.98843e+30 kg converts to m_sun;
372
- 1 au radian arcsec^-1 converts to parsec;
373
- 1 parsec converts to pc;
374
- 1 au converts to astronomicalunit;
375
-
376
- // Atomic
377
- 1.6606e-27 kg converts to neutronmass;
378
- 1.6726e-27 kg converts to protonmass;
379
- 9.1095e-31 kg converts to electronmass;
380
- 1.055e-34 joule sec converts to hbar;
381
- 1.1125945705385e-10 hbar^2 C^2 N^-1 m^-2 e^-2 electronmass^-1 converts to bohrradius;
382
- 1.66044e-27 kg converts to atomicmassunit approximately;
383
- 1 atomicmassunit converts to amu;
384
- 1 amu converts to dalton;
385
- 6.626e-34 joule sec converts to planck; // The Planck constant
386
- 1000000000.0 e volt converts to bev;
387
- 1 e V converts to eV;
388
- 1 e volt converts to electronvolt;
389
- 1 e volt converts to ev;
390
-
391
- // British and surveying
392
- 220 yd converts to furlong;
393
- 22 yd converts to gunterschain;
394
- 1200/3937 m ft^-1 converts to british;
395
- 66 ft converts to chain;
396
- 1 british ft converts to geodeticfoot;
397
- 1 british ft converts to surveyfoot;
398
- 3 surveyfoot converts to surveyyard;
399
- 66 ft converts to surveyorschain;
400
- 33/50 ft converts to surveyorslink;
401
- 720 ft converts to cable;
402
- 40 yd converts to bolt;
403
- 20 ft converts to rope;
404
- 1852 m converts to geographicalmile;
405
-
406
- // Pressure
407
- 101325.0 nt m^-2 converts to atmosphere;
408
- 100000.0 nt m^-2 converts to bar;
409
- 1 lb g in^-2 converts to psi;
410
- 1 atmosphere converts to atm;
411
- 0.001 m hg converts to torr;
412
- 0.1 nt m^-2 converts to barie;
413
- 0.1 nt m^-2 converts to barye;
194
+ 1 pico converts to p;
414
195
  1 nt m^-2 converts to pascal;
415
196
  1000.0 nt m^-2 converts to pieze;
416
-
417
- // Printers
418
- 1/6 in converts to pica;
419
- 1/72 in converts to point;
420
-
421
- // Alcohol and wine
422
- 1/8 qt converts to noggin;
423
- 1/4 pt converts to gill;
424
- 4/5 qt converts to fifth;
425
- 42 gal converts to barrel;
426
- 2 barrel converts to hogshead;
427
- 4/5 gal converts to jeroboam;
428
- 1 hogshead converts to hd;
429
- 4 barrel converts to pipe;
430
- 8 barrel converts to tun;
431
- 9 gal converts to firkin;
432
- 2 qt converts to magnum;
433
- 18 gal converts to kilderkin;
434
- 156 floz converts to rehoboam;
435
-
436
- // Cooking measures
437
- 1/60 fldr converts to minim;
438
- 4 fldr converts to tablespoon;
439
- 1 tablespoon converts to tbl;
440
- 1 tablespoon converts to tbsp;
441
- 4/3 fldr converts to teaspoon;
442
- 1 teaspoon converts to tsp;
443
- 1/2 pt converts to cup;
444
-
445
- // Radiation
446
- 37000000000.0 sec^-1 converts to curie;
447
- 2.7027027027027e-11 curie converts to becquerel;
197
+ 100.0 kg m g sec converts to poncelet;
198
+ 2.0 pi sec^-1 converts to pulsatance;
199
+ 10.0 m^2 nt^-1 sec^-1 converts to rhe;
448
200
  0.000258 curie kg^-1 converts to rontgen;
201
+ 1000000.0 sec^-1 converts to rutherford;
202
+ 1 sec converts to s;
203
+ 37.2 inch converts to scottishell;
204
+ 20.0 grain converts to scruple;
449
205
  8.4 rontgen converts to sievert;
450
-
451
- // Flow rate and consumption
452
- 1 ft^3 sec^-1 converts to cfs;
453
- 1000000.0 gal day^-1 converts to mgd;
454
- 1 mile gal^-1 converts to mpg;
455
-
456
- // Lumber
457
- 144 in^3 converts to boardfoot;
458
- 128 ft^3 converts to cord;
459
- 1 cord converts to cordfoot;
460
- 1 ft^3 converts to timberfoot;
461
-
462
- // Thread
463
- 900 ft pound^-1 converts to linenyarncount;
464
- 1 meter gram^-1 converts to metricyarncount;
465
- 0.000111111111111111 gram m converts to denier;
466
- 1680 ft pound^-1 converts to worstedyarncount;
467
- 2520 ft pound^-1 converts to cottonyarncount;
468
- 120 yd converts to skein;
469
- 14400 yd converts to spindle;
470
-
471
- // Jewelers
472
- 0.205 g converts to carat;
473
- 1/20 oz converts to pennyweight;
474
- 1 pennyweight converts to pwt;
475
- 0.2 g converts to metriccarat;
476
- 0.002 gram converts to jewlerspoint;
477
-
478
- // Trivia
479
- 1.0e-06 sec converts to sigma;
480
- 1 m^3 converts to stere;
481
- 0.0001 m^2 sec^-1 converts to stoke;
482
- 4600000.0 m^2 sec^-2 converts to tnt;
483
- 1.00202e-13 m converts to Xunit;
484
- 1.0e-28 m^2 converts to barn;
485
- 1 m^-1 converts to dipotre;
486
- 100 kg converts to doppelzentner;
487
- 0.01 m sec^-2 converts to galileo;
488
- 6.28e-05 gram converts to iudiptheria;
489
- 4.167e-05 gram converts to iuinsulin;
490
- 6.0e-07 gram converts to iupenicillin;
491
- 1 kg converts to key;
492
- 100 kg m g sec converts to poncelet;
493
- 2 pi sec^-1 converts to pulsatance;
494
- 10 m^2 nt^-1 sec^-1 converts to rhe;
495
206
  0.001 apostilb converts to skot;
207
+ 4.0 pi steradian converts to sphere;
208
+ 1 steradian converts to sr;
496
209
  1000.0 nt converts to sthene;
497
210
  0.001 gram m converts to tex;
211
+ 1 circle converts to turn;
498
212
  1 gram g cc converts to water;
499
- 1.0e-12 m^2 newton^-1 converts to brewster;
213
+ 1 yocto converts to y;
214
+ 1 zopto converts to z;
215
+ 1 hertz converts to Hz;
216
+ 1 newton converts to N;
217
+ 1 ampere converts to amp;
218
+ 1 atomicmassunit converts to amu;
219
+ 60.0 grain converts to apdram;
220
+ 480.0 grain converts to apounce;
221
+ 5760.0 grain converts to appound;
222
+ 1 degree converts to arcdeg;
223
+ 1.0/60 arcdeg converts to arcmin;
224
+ 1.0/60 arcmin converts to arcsec;
225
+ 1 au converts to astronomicalunit;
226
+ 101325.0 nt m^-2 converts to atmosphere;
227
+ 100000.0 nt m^-2 converts to bar;
228
+ 0.1 nt m^-2 converts to barie;
229
+ 0.1 nt m^-2 converts to barye;
230
+ 0.000000000027027027027027 curie converts to becquerel;
231
+ 10.0 amp converts to biot;
232
+ 0.000000000001 m^2 newton^-1 converts to brewster;
233
+ 0.205 g converts to carat;
500
234
  0.01 grade converts to centesimalminute;
501
235
  0.0001 grade converts to centesimalsecond;
502
- 37.2 inch converts to scottishell;
503
- 45 inch converts to englishell;
504
- 27 inch converts to flemishell;
236
+ 1 amu converts to dalton;
237
+ 0.000111111111111111 gram m converts to denier;
238
+ 1 dram converts to dr;
239
+ 60.0 grain converts to drachm;
240
+ 1 lightspeed^2 converts to energy;
241
+ 45.0 inch converts to englishell;
242
+ 27.0 inch converts to flemishell;
243
+ 1 g converts to force;
244
+ 1000000000000.0 hertz converts to fresnel;
245
+ 0.795775 amp converts to gilbert;
246
+ 1 gram converts to gm;
247
+ 1 grain converts to gr;
248
+ 1 mercury converts to hg;
505
249
  1 gm force sec^2 m^-1 converts to hyl;
506
- 1000 lbf converts to kip;
507
- 1.0e-09 m hg m^3 s^-1 converts to lusec;
250
+ 1 inch converts to in;
251
+ 1 nt m converts to joule;
252
+ 1000.0 lbf converts to kip;
253
+ 1.0/12 in converts to line;
254
+ 1 cd sr converts to lumen;
255
+ 0.000000001 m hg s^-1 converts to lusec;
256
+ 1 cd sr m^-2 converts to lux;
257
+ 0.001 in converts to mil;
258
+ 1 minute converts to min;
259
+ 0.001 lux converts to nox;
260
+ 250.0 pi amp m^-1 converts to oersted;
261
+ 36.0 in converts to pace;
262
+ 3.0 in converts to palm;
263
+ 1 au radian arcsec^-1 converts to parsec;
264
+ 1 parsec converts to pc;
265
+ 100.0 lumen m^-2 converts to phot;
266
+ 1.0/6 in converts to pica;
267
+ 0.0000000000000000000000000000000006626 joule sec converts to planck;
268
+ 1.0/72 in converts to point;
508
269
  100.0 gm m^-1 sec^-1 converts to poise;
509
- 4 pi sr converts to spat;
510
- 1/4 pi in^2 converts to circularinch;
511
- 2.5e-07 pi in^2 converts to circularmil;
512
- 1.0e-11 m hg m^3 s^-1 converts to clusec;
270
+ 1 lb g in^-2 converts to psi;
271
+ 9.0 in converts to quarter;
272
+ 1 turn converts to rev;
273
+ 1 turn converts to revolution;
274
+ 1 rev minute^-1 converts to rpm;
275
+ 1 rev sec^-1 converts to rps;
276
+ 9.0 in converts to span;
277
+ 4.0 pi sr converts to spat;
278
+ 0.000000000333564095198152 amp converts to statamp;
279
+ 1 statamp converts to statampere;
280
+ 1000000.0 gm converts to tonne;
281
+ 0.001 m hg converts to torr;
282
+ 1 appound converts to troypound;
283
+ 1 joule sec^-1 converts to watt;
284
+ 1 atmosphere converts to atm;
285
+ 1.0/3 in converts to barleycorn;
286
+ 144.0 in^3 converts to boardfoot;
287
+ 1.0/40 in converts to bottommeasure;
288
+ 277.42 in^3 converts to brgallon approximately;
289
+ 1055.06 joule converts to britishthermalunit approximately;
290
+ 554.84 in^3 converts to brpeck approximately;
291
+ 1.0/4 brgallon converts to brquart;
292
+ 1 britishthermalunit converts to btu;
293
+ 4.1868 joule converts to cal;
294
+ 0.01 in converts to caliber;
295
+ 1 cal converts to calorie;
296
+ 1.0/4 pi in^2 converts to circularinch;
297
+ 0.00000025 pi in^2 converts to circularmil;
298
+ 0.00000000001 m hg s^-1 converts to clusec;
299
+ 37.5 brgallon converts to cran;
513
300
  0.0906 gm converts to crith;
514
- // 1.38047e-16 erg degC^-1 converts to k;
301
+ 18.0 in converts to cubit;
302
+ 0.01 m gm sec^-2 converts to dyne;
303
+ 45.0 in converts to ell;
304
+ 1 lumen pi^-1 m^-2 converts to equivalentlux;
305
+ 0.01 m^2 gm sec^-2 converts to erg;
306
+ 7.0/8 in converts to finger;
307
+ 12.0 in converts to foot/feet;
308
+ 1000.0 cal converts to frigorie;
309
+ 1 foot converts to ft;
310
+ 231.0 in^3 converts to gallon;
311
+ 4.0 in converts to hand;
312
+ 0.0000000000000000000000000000000001055 joule sec converts to hbar;
313
+ 550.0 ft lb g sec^-1 converts to horsepower;
314
+ 60.0 min converts to hour;
315
+ 1 horsepower converts to hp;
316
+ 1 hour converts to hr;
317
+ 1 nmile hr^-1 converts to knot;
515
318
  100.0 cal m^-2 converts to langley;
319
+ 900.0 ft pound^-1 converts to linenyarncount;
320
+ 33.0/50 ft converts to link;
321
+ 5280.0 ft converts to mile;
322
+ 2.5 foot converts to militarypace;
323
+ 1.5 ft^3 min^-1 converts to minersinch;
324
+ 1 mile hr^-1 converts to mph;
325
+ 1 oersted converts to oe;
516
326
  1 ft lb sec^-2 converts to poundal;
517
- 100 erg gm^-1 converts to rad;
518
- 12000 btu ton^-1 hour^-1 converts to refrigeration;
327
+ 100.0 erg gm^-1 converts to rad;
328
+ 12000.0 btu ton^-1 hour^-1 converts to refrigeration;
329
+ 100.0 ft^3 converts to registerton;
330
+ 20.0 ft converts to rope;
519
331
  1 ft^2 converts to sabin;
332
+ 40.0 ft^3 converts to shippington;
333
+ 23.934469444 hour converts to siderealday;
334
+ 1.0/24 siderealday converts to siderealhour;
520
335
  1 lb g sec^2 ft^-1 converts to slug;
336
+ 100.0 ft^2 converts to square;
337
+ 66.0 ft converts to surveyorschain;
338
+ 33.0/50 ft converts to surveyorslink;
339
+ 100000.0 btu converts to therm;
340
+ 1000000.0 cal converts to thermie;
341
+ 1 ft^3 converts to timberfoot;
342
+ 1 watt amp^-1 converts to volt;
343
+ 1 volt sec converts to weber;
344
+ 1680.0 ft pound^-1 converts to worstedyarncount;
345
+ 3.0 ft converts to yard;
346
+ 1 yard converts to yd;
347
+ 1 volt converts to V;
348
+ 4840.0 yd^2 converts to acre;
349
+ 6080.0 ft hr^-1 converts to admiraltyknot;
521
350
  191.835 ft converts to arpentlin;
522
- 1.0e-09 weber m^-2 converts to gamma;
523
- 1/16 yd converts to nail;
351
+ 1000000000.0 e volt converts to bev;
352
+ 0.00000000011125945705385 hbar^2 C^2 N^-1 m^-2 e^-2 electronmass^-1 converts to bohrradius;
353
+ 40.0 yd converts to bolt;
354
+ 4.0 brpeck converts to brbushel;
355
+ 1200.0/3937 m ft^-1 converts to british;
356
+ 1.0/2 brquart converts to brpint;
357
+ 720.0 ft converts to cable;
358
+ 1 ft^3 sec^-1 converts to cfs;
359
+ 66.0 ft converts to chain;
360
+ 128.0 ft^3 converts to cord;
361
+ 1 cord converts to cordfoot;
362
+ 2520.0 ft pound^-1 converts to cottonyarncount;
363
+ 24.0 hr converts to day;
364
+ 35.0 ft^3 converts to displacementton;
365
+ 268.8025 in^3 gallon^-1 converts to dry approximately;
366
+ 1 e V converts to eV;
367
+ 1 e volt converts to electronvolt;
368
+ 100.0 ft converts to engineerschain;
369
+ 1 ft converts to engineerslink;
370
+ 1 lumen pi^-1 ft^-2 converts to equivalentfootcandle;
371
+ 1 e volt converts to ev;
372
+ 1 coul volt^-1 converts to farad;
373
+ 6.0 ft converts to fathom;
374
+ 1 lumen ft^-2 converts to footcandle;
375
+ 1 cd pi^-1 ft^-2 converts to footlambert;
376
+ 14.0 day converts to fortnight;
377
+ 16.0/15 ft converts to frenchfoot;
378
+ 220.0 yd converts to furlong;
379
+ 1 gallon converts to gal;
380
+ 0.000000001 weber m^-2 converts to gamma;
381
+ 0.0001 weber m^-2 converts to gauss;
382
+ 1 british ft converts to geodeticfoot;
383
+ 22.0 yd converts to gunterschain;
384
+ 1 sec^2 farad^-1 converts to henry;
385
+ 4.0/5 gal converts to jeroboam;
386
+ 18.0 gal converts to kilderkin;
387
+ 29.5305555 day converts to lunarmonth;
388
+ 12.0 lunarmonth converts to lunaryear;
389
+ 0.00000001 weber converts to maxwell;
390
+ 1000000.0 gal day^-1 converts to mgd;
391
+ 0.001 henry converts to mh;
392
+ 1 mile converts to mi;
393
+ 1 mile gal^-1 converts to mpg;
394
+ 1.0/16 yd converts to nail;
395
+ 1 volt amp^-1 converts to ohm;
524
396
  3.5 mi converts to parasang;
525
397
  1 poundal converts to pdl;
398
+ 0.000000000001 farad converts to pf;
399
+ 1.0/4 gal converts to quart;
400
+ 1.0/4 mi^2 converts to quartersection;
401
+ 5.5 yd converts to rod;
402
+ 1210.0 yd converts to rood;
526
403
  13.6054 ev converts to rydberg;
527
- 27.52 mi converts to arpentcan;
528
- 1/4 mi^2 converts to homestead;
529
- 1/4 mi^2 converts to quartersection;
530
404
  1 mi^2 converts to section;
531
- 36 mi^2 converts to township;
532
-
533
- /*
534
- * REVISIT: These currency conversions haven't been updated since 1993
535
- *
536
- 5 dollar converts to fin ephemeral;
537
- 1 dollar converts to argentinapeso ephemeral;
538
- 0.66 dollar converts to australiadollar ephemeral;
539
- 2.6522 dollar converts to bahraindinar ephemeral;
540
- 1.9e-05 dollar converts to brazilcruzeiro ephemeral;
541
- 1.49 dollar converts to britainpound ephemeral;
542
- 1 britainpound converts to greatbritainpound;
543
- 1 dollar converts to buck ephemeral;
544
- 0.77 dollar converts to canadadollar ephemeral;
545
- 0.01 dollar converts to cent ephemeral;
546
- 0.0025 dollar converts to chilepeso ephemeral;
547
- 0.174856 dollar converts to chinarenminbi ephemeral;
548
- 0.001495 dollar converts to colombiapeso ephemeral;
549
- 0.034 dollar converts to czechkoruna ephemeral;
550
- 0.15 dollar converts to denmarkkrone ephemeral;
551
- 0.000539 dollar converts to ecuadorsucre ephemeral;
552
- 0.0043 dollar converts to greecedrachma ephemeral;
553
- 0.13 dollar converts to hongkongdollar ephemeral;
554
- 0.011 dollar converts to hungaryforint ephemeral;
555
- 0.03211 dollar converts to indiarupee ephemeral;
556
- 0.0004782 dollar converts to indonesiarupiah ephemeral;
557
- 0.3642 dollar converts to israelshekel ephemeral;
558
- 0.0093 dollar converts to japanyen ephemeral;
559
- 1.4682 dollar converts to jordandinar ephemeral;
560
- 3.3173 dollar converts to kuwaitdinar ephemeral;
561
- 0.000578 dollar converts to lebanonpound ephemeral;
562
- 0.338 dollar converts to malaysiaringgit ephemeral;
563
- 2.6042 dollar converts to maltalira ephemeral;
564
- 0.3205128 dollar converts to mexicopeso ephemeral;
565
- 0.539 dollar converts to newzealanddollar ephemeral;
566
- 0.139 dollar converts to norwaykrone ephemeral;
567
- 0.037 dollar converts to pakistanrupee ephemeral;
568
- 0.5065 dollar converts to perunewsol ephemeral;
569
- 0.03738 dollar converts to philippinespeso ephemeral;
570
- 5.9e-05 dollar converts to polandzloty ephemeral;
571
- 0.26702 dollar converts to saudiarabiariyal ephemeral;
572
- 0.6157 dollar converts to singaporedollar ephemeral;
573
- 0.034 dollar converts to slovakkoruna ephemeral;
574
- 0.21 dollar converts to southafricarand ephemeral;
575
- 0.001 dollar converts to southkoreawon ephemeral;
576
- 0.13 dollar converts to swedenkrona ephemeral;
577
- 0.66 dollar converts to switzerlandfranc ephemeral;
578
- 0.038285 dollar converts to taiwandollar ephemeral;
579
- 0.03962 dollar converts to thailandbaht ephemeral;
580
- 9.29e-05 dollar converts to turkeylira ephemeral;
581
- 0.2723 dollar converts to unitedarabdirham ephemeral;
582
- 0.246852 dollar converts to uruguaynewpeso ephemeral;
583
- 0.011 dollar converts to venezuelabolivar ephemeral;
584
- */
405
+ 27.32152777 day converts to siderealmonth;
406
+ 365.256360417 day converts to siderealyear;
407
+ 1 ohm^-1 converts to siemens;
408
+ 120.0 yd converts to skein;
409
+ 14400.0 yd converts to spindle;
410
+ 299.792458 volt converts to statvolt;
411
+ 1 british ft converts to surveyfoot;
412
+ 3.0 surveyfoot converts to surveyyard;
413
+ 1 lunarmonth converts to synodicmonth;
414
+ 1 weber m^-2 converts to tesla;
415
+ 36.0 mi^2 converts to township;
416
+ 7.0 day converts to week;
417
+ 365.24219879 day converts to year approximately;
418
+ 1 year converts to yr;
419
+ 27.52 mi converts to arpentcan;
420
+ 42.0 gal converts to barrel;
421
+ 1.0/20 brpint converts to brfloz;
422
+ 100.0 year converts to century;
423
+ 10.0 yr converts to decade;
424
+ 9.0 gal converts to firkin;
425
+ 1 frenchfoot converts to frenchfeet;
426
+ 2.0 barrel converts to hogshead;
427
+ 1.0/4 mi^2 converts to homestead;
428
+ 1000.0 ohm converts to kilohm;
429
+ 3.0 mi converts to league;
430
+ 1 lightspeed yr converts to lightyear;
431
+ 1000000.0 ohm converts to megohm;
432
+ 1 ohm^-1 converts to mho;
433
+ 1000.0 year converts to millennium;
434
+ 1.0/12 year converts to month;
435
+ 8.0 dry quart converts to peck;
436
+ 4.0 barrel converts to pipe;
437
+ 1 peck converts to pk;
438
+ 1 quart converts to qt;
439
+ 1 rod converts to rd;
440
+ 1 year converts to solaryear;
441
+ 6.0 frenchfeet converts to toise;
442
+ 1 year converts to tropicalyear;
443
+ 8.0 barrel converts to tun;
444
+ 4.0 peck converts to bushel;
445
+ 36.0 bushel converts to chaldron;
446
+ 4.0/5 qt converts to fifth;
447
+ 1 hogshead converts to hd;
448
+ 2.0 qt converts to magnum;
449
+ 1 month converts to mo;
450
+ 1.0/8 qt converts to noggin;
451
+ 1 rd converts to perch;
452
+ 1.0/2 qt converts to pint;
453
+ 1 rd converts to pole;
454
+ 1 pint converts to pt;
455
+ 1 bushel converts to bu;
456
+ 4.0 bu converts to coomb;
457
+ 1.0/2 pt converts to cup;
458
+ 1.0/16 pt converts to floz;
459
+ 1.0/4 pt converts to gill;
460
+ 80.0 bu converts to last;
461
+ 156.0 floz converts to rehoboam;
462
+ 3.0 bu converts to sack;
463
+ 8.0 bu converts to seam;
464
+ 3.0/2 floz converts to shot;
465
+ 2.0 bu converts to strike;
466
+ 40.0 bu converts to wey;
467
+ 1.0/8 floz converts to fldr;
468
+ 1.0/60 fldr converts to minim;
469
+ 4.0 fldr converts to tablespoon;
470
+ 1 tablespoon converts to tbl;
471
+ 1 tablespoon converts to tbsp;
472
+ 4.0/3 fldr converts to teaspoon;
473
+ 1 teaspoon converts to tsp;