#
#   TNT unit name and conversion definitions
#
#   Encoding: UTF8
#
#   NEW ENTRIES MAY ONLY BE ADDED BY MICROIMAGES.
#   Contact MicroImages if you need additional unit conversions added.
#   The units are grouped by "unit type" where the unit types appear in [].
#   When localizing, the unit type names MUST NOT be changed.
#
#   The format of each unit line is...
#
#	Number, Flag, Name, Symbol, Scale, Offset
#
#   Number
#	The unit number for the given unit type.  These numbers must not be
#	changed.  Although new units can be added MicroImages strongly cautions
#	clients against doing so.  If requested, MicroImages will add new unit
#	conversions to this file, maintaining compatibility with datasets.
#
#   Flag
#	Internal, do not change.
#
#   Name
#	The unit name as it will appear on menus and in some reports where the
#	unit is "spelled out".  This can be localized.  You must use a UTF8
#	text editor to change the unit names if any non-ASCII characters are
#	used.  The TNTmips text editor may be used for this purpose.  The name
#	is limited to 31 characters.
#
#   Symbol
#	The unit "symbol" as it will appear in reports.  This can be localized.
#	As for the name, you must use a UTF8 text editor to change the symbol
#	if any non-ASCII characters (anything above 128) are used.  The symbol
#	is limited to 9 characters.
#
#   Scale
#	The scale is the value to MULTIPLY by to convert the new units to the base
#	units for the given type.  For example, to convert millimeters to meters
#	the scale would be .001 or 1.0E-3.
#
#   Offset
#	The offset is optional and will be 0 if omitted.  This value will be added
#	to the converted value after scaling.
#

[constant]
 0, 0, PI,			pi,		3.1415926535897931

[distance]
 0, 0, meters,			m,		1.0
 1, 0, centimeters, 		cm,		1.0E-2
 2, 0, millimeters, 		mm,		1.0E-3
 3, 0, kilometers,     		km,		1.0E3
 4, 0, feet, 			ft,		.3048
 5, 0, yards, 			yd,		.9144
 6, 0, inches,			in,		.0254
 7, 0, miles, 			mi,		1609.344
 8, 0, micrometers,		µm,		1.0E-6
 9, 0, nanometers, 		nm,		1.0E-9
10, 0, decimeters,		dm,		0.1
11, 0, nautical miles,		nmi,		1852.0
12, 0, fathoms,			fath,		1.828803654
13, 0, chains,			ch,		20.1168
14, 0, links,			li,		2.01168
15, 0, inches (U.S. Survey),	in(us),		.025400051
16, 0, feet (U.S. Survey),	ft(us),		.304800609601219
17, 0, yards (U.S. Survey),	yd(us),		.914401828803658
18, 0, chains (U.S. Survey),	ch(us),		20.1168
19, 0, miles (U.S. Statute),	mi(us),		1609.347218694437
20, 0, miles (U.S. Nautical),	nmi(us),	1853.25
21, 0, feet (Indian),		ft(ind),	.30479841
22, 0, yards (Indian),		yd(ind),	.914398554
23, 0, chains (Indian),		ch(ind),	20.11669506
24, 0, meters (German Legal),	m(ger),		1.0000135965
25, 0, feet (Clarke),		ft(clk),	.304797265
26, 0, feet (U.S. Modified),	ft(usmd),	.304812253
27, 0, links (Benoit),		lk(ben),	.201167825
28, 0, links (Sears),		lk(srs),	.201167651
29, 0, chains (Benoit),		ch(ben),	20.1167825
30, 0, chains (Sears),		ch(srs),	20.1167651
31, 0, yards (Sears),		ys(srs),	.914398415
32, 0, rods,			rod,		5.0292
33, 0, wa (Thai),		wa,		2.0

[area]
 0, 0, square meters,		m²,		1.0
 1, 0, square centimeters,	cm²,		1.0E-4
 2, 0, square millimeters,	mm²,		1.0E-6
 3, 0, square kilometers,	km²,		1.0E6
 4, 0, square feet,		ft²,		.09290304
 5, 0, square yards,		yd²,		.83612736
 6, 0, square inches,		in²,		6.4516E-4
 7, 0, square miles,		mi²,		2589988.11
 8, 0, square micrometers,	µm²,		1.0E-12
 9, 0, square nanometers,	nm², 		1.0E-18
10, 0, acres,			acre,		4046.873
11, 0, hectares,		ha,		1.0E4
12, 0, ares,			a,		1.0E2
13, 0, square chains,		ch²,		404.6856
14, 0, square links,		li²,		.04046856
15, 0, square survey feet,	ft(us)²,	.09290341
16, 0, perch,			perch,		25.29285
17, 0, rood,			rood,		1011.714
18, 0, square wa (Thai),	wa²,		4.0
19, 0, rai (Thai),		rai,		1600.0

[angle]
 0, 0, degrees,			deg,  		PI/180.0
 1, 0, radians,			rad,  		1.0
 2, 0, milliradians,		mrad, 		1.0E-3
 3, 0, grads,			grad, 		PI/200.0
 4, 0, arcseconds,		arcsec,		PI/648000.0
 5, 0, arcminutes,		arcmin,		PI/10800.0
 6, 0, gons,			gon,		PI/200.0

[time]
 0, 0, seconds,			s,		1.0
 1, 0, minutes,			min,		60
 2, 0, hours,			h,		3600
 3, 0, days,			d,		86400
 4, 0, weeks,			wk,		604800
 5, 0, years,			yr,		31536000
 6, 0, milliseconds,            ms,             .001
 7, 0, microseconds,		µs,		1.0E-6
 8, 0, nanoseconds, 		ns,		1.0E-9

[temperature]
 0, 0, kelvin,			K,		1.0
 1, 0, Celsius,			degC,		1.0, 273.15
 2, 0, Fahrenheit,		degF,		5/9, 255.37222222222

[volume]
 0, 0, cubic meters,		m³,		1.0
 1, 0, milliliters,		mL,		1.0E-6
 2, 0, cubic centimeters,	cc,		1.0E-6
 3, 0, liters,			L,		1.0E-3
 4, 0, cubic decimeters,	dm³,		1.0E-3
 5, 0, cubic kilometers,	km³,		1.0E9
 6, 0, cubic inches,		in³,		1.638706E-5
 7, 0, cubic feet,		ft³,		.028316847
 8, 0, cubic yards,		yd³,		.764554858
 9, 0, board feet,		bd ft,		.00235974
10, 0, cords (timber),		cord,		3.624559829
11, 0, UK fluid drachma,	uk dr,		3.55163E-6
12, 0, UK minim,		uk mn,		5.9193E-9
13, 0, UK fluid ounces,		fl oz(uk),	2.84131E-5
14, 0, US fluid ounces,		fl oz(us),	2.95735E-5
15, 0, US liquid pints,		liq pt,		4.731765E-4
16, 0, US dry pints,		dry pt,		5.506105E-4
17, 0, Imperial pints,		im pt,		1759.75476058
18, 0, Imperial gallons,	uk gl,		4.54609E-3
19, 0, US gallons,		us gl,		3.785412E-3
20, 0, UK bushels,		uk bu,		.0363687
21, 0, US bushels,		us bu,		.03523907
22, 0, cubic decameters,	Dm³,		1.0E3

[mass]
 0, 0, kilograms,			kg,		1.0
 1, 0, grams,				g,		1.0E-3
 2, 0, milligrams,			mg,		1.0E-6
 3, 0, metric tons,			t,		1.0E3
 4, 0, tonnes,				t,		1.0E3

[current]
 0, 0, amperes,				A,		1.0

[amount_of_substance]
 0, 0, moles,				mol,		1.0

[luminous_intensity]
 0, 0, candela,				cd,		1.0

[solid_angle]
 0, 0, steradian,			sr,		1.0

[velocity]
 0, 0, meters per second,		m/s,		1.0
 1, 0, centimeters per second,		cm/s,		.01
 2, 0, feet per second,			ft/s,		.3048
 3, 0, inches per second,		in/s,		.0254
 4, 0, kilometers per hour,		km/h,		1000/3600.0
 5, 0, miles per hour,			mi/h,		1609.344/3600.0
 6, 0, nautical miles per hour,		kn,		1852.0/3600.0
 7, 0, speed of light,			c,		2.997925E8
 8, 0, meters per year,			m/yr,		1.0/31536000.0
 9, 0, feet per year,			ft/yr,		.3048/31536000.0

[acceleration]
 0, 0, meters per second squared,	m/s²,		1.0
 1, 0, feet per second squared,		ft/s²,		.3048
 2, 0, standard gravities,		g,		9.80665

[volumetric_flow_rate]
 0, 0, cubic meters per second,		m³/s,		1.0

[mass_flow_rate]
 0, 0, kilograms per second,		kg/s,		1.0

[wave_number]
 0, 0, reciprocol meters,		1/s,		1.0

[density]
 0, 0, kilograms per cubic meter,	kg/m³,		1.0

[specific_volume]
 0, 0, cubic meters per kilogram,	m³/kg,		1.0

[current_density]
 0, 0, amperes per square meter,	A/m²,		1.0

[magnetic_field_strength]
 0, 0, amperes per meter,		A/m,		1.0

[concentration]
 0, 0, moles per cubic meter,		mol/m³,		1.0

[luminance]
 0, 0, candelas per square meter,	cd/m²,		1.0

[frequency]
 0, 0, hertz,				Hz,		1.0
 1, 0, kilohertz,			kHz,		1.0E3
 2, 0, megahertz,			MHz,		1.0E6
 3, 0, gigahertz,			GHz,		1.0E9

[force]
 0, 0, newtons,				N,		1.0

[pressure]
 0, 0, pascals,				Pa,		1.0
 1, 0, bars,				bar,		1.0E5
 2, 0, millibars,			mbar,		1.0E2

[energy]
 0, 0, joules,				J,		1.0
 1, 0, electronvolt,			eV,		1.60218E-19

[power]
 0, 0, watts,				W,		1.0
 1, 0, kilowatts,			kW,		1.0E3
 2, 0, megawatts,			MW,		1.0E6
 3, 0, gigawatts,			GW,		1.0E9
 4, 0, terawatts,			TW,		1.0E12
 5, 0, milliwatts,			mW,		1.0E-3

[electric_charge]
 0, 0, coulombs,			C,		1.0

[electric_potential]
 0, 0, volts,				V,		1.0
 1, 0, kilovolts,			kV,		1.0E3

[capacitance]
 0, 0, farad,				F,		1.0
 1, 0, microfarads,			µF,		1.0E-6

[electric_resistance]
 0, 0, ohms,				ohm,		1.0

[electric_conductance]
 0, 0, siemens,				S,		1.0

[magnetic_flux]
 0, 0, weber,				Wb,		1.0

[magnetic_flux_density]
 0, 0, tesla,				T,		1.0

[inductance]
 0, 0, henry,				H,		1.0

[luminous_flux]
 0, 0, lumen,				lm,		1.0

[radionuclide_activity]
 0, 0, becquerel,			Bq,		1.0
 1, 0, curie,				Ci,		3.7E10

[absorbed_dose]
 0, 0, gray,				Gy,		1.0
 1, 0, rad,				rad,		1.0E-2

[dose_equivalent]
 0, 0, sievert,				Sv,		1.0
 1, 0, rem,				rem,		1.0E-2

[dynamic_viscosity]
 0, 0, pascal seconds,			Pa·s,		1.0

[moment_of_force]
 0, 0, newton meters,			N·m,		1.0

[surface_tension]
 0, 0, newtons per meter,		N/m,		1.0

[irradiance]
 0, 0, watts per square meter,		W/m²,		1.0

[entropy]
 0, 0, joules per kelvin,		J/K,		1.0

[specific_heat_capacity]
 0, 0, joules per kilogram kelvin,	J/(kg·K),	1.0

[specific_energy]
 0, 0, joules per kilogram,		J/kg,		1.0

[thermal_conductivity]
 0, 0, watts per meter kelvin,		W/(m·K),	1.0

[energy_density]
 0, 0, joules per cubic meter,		J/m³,		1.0

[electric_field_strength]
 0, 0, volts per meter,			V/m,		1.0

[electric_charge_density]
 0, 0, coulombs per cubic meter,	C/m³,		1.0

[electric_flux_density]
 0, 0, coulombs per square meter,	C/m²,		1.0

[permitivity]
 0, 0, farads per meter,		F/m,		1.0

[permeability]
 0, 0, henrys per meter,		H/m,		1.0

[molar_energy]
 0, 0, joules per mole,			J/mol,		1.0

[molar_entropy]
 0, 0, joules per mole kelvin,		J/(mol·K),	1.0

[exposure_to_radiation]
 0, 0, coulombs per kilogram,		C/kg,		1.0
 1, 0, roentgen,			R,		2.58E-4

[absorbed_dose_rate]
 0, 0, grays per second,		Gy/s,		1.0

[angular_velocity]
 0, 0, radians per second,		rad/s,		1.0
 1, 0, degrees per second,		deg/s,		PI/180.0

[angular_acceleration]
 0, 0, radians per second squared,	rad/s²,		1.0

[radiant_intensity]
 0, 0, watts per steradian,		W/sr,		1.0

[radiance]
 0, 0, watts / square meter steradian,	W/(m²·sr),	1.0
