Although you can make entirely new unit in UnitConversionLib which is not depended on any existing Unit like this:
            Unit bit = Unit.CreateNew("b");//Create a new fundamental unit

or create derived units like this:

            Unit B = bit * 8;
            Unit.Register(ref B, "B");
            Unit KB = B * 1024;
            Unit.Register(ref KB, "KB");
            Unit MB = KB * 1024;
            Unit.Register(ref MB, "MB");


The library contains some predefined units:

Note: keywords are case sensitive:

Note: keywords are case sensitive

Base SI Units (all original base units are supported except Kelvin (°C is used instead)):

Unit

Description

keywords(s)

m

meter - length

m,M

s

second - time

s,sec,Sec

Kg

kilograms - mass

kg,Kg

A

Ampere - electric current

A,ampere,Ampere

°C

centigrade degree - temperature

°C,Celsius,celsius

mol

mol - amount of substance

Mol,Mol,MOL

cd

candela - luminous intensity

Cd,Candela,candela

 

Length:

Unit

Description

Keyword(s)

Å

angstrom

Å,angstrom,Angstrom

foot

foot

foot

In

inch

In,inch,Inch

µ

micron

µ,micron

mi

mile

mi,mile,Mile

yd

yard

yd,Yard,yard

cm

centimeter

cm,Centimeter,centimeter

mm

millimeter

mm,millimeter,Milimeter

km

kilometer

km,kilometer,Kilometer

 

Time:

Unit

Description

Keyword(s)

µs

microsecond

µs,microsecond,Microsecond

ms

millisecond

ms,millisecond,Millisecond

h

hour

h,hour,Hour

min

minute

min,minute,Minute

d

day

d,day,Day

week

Week

week,Week

yr

year

yr,year,Year

 

Mass:

Unit

Description

Keyword(s)

Gm

Grams

gm,gram,Gram

mg

mili grams

mg,milligram,Milligram

u

atomic mass unit

u,Atomic mass unit,atomic mass unit

slug

slug

slug,Slug,pond (!)

ton

ton (1000 kg)

ton,Ton

 

Force:

Unit

Description

Keyword(s)

dyn

Dyne

dyn,Dyne,dyne

lbf

pound FOrce

lbf

Kgf

killogram-force

kgf

tonf

Tone FOrce

tonf

 

Pressure:

Unit

Description

Keyword(s)

Pa

Pascal

Pa,pas,Pas

KPa

Killo Pascal

KPa,kpa,kpas,kPas

MPa

mega Pascal

MPa,mpa,MPas

GPa

giga Pascal

GPa,gpa,GPas

bar

Bar

bar,Bar

at

Technical atmosphere

at,At

atm

Atmosphere

atm,Atm

psi

Pound-force per square inch

psi.Psi

torr

Pound-force per square inch

torr,Torr

mmH2O

milimeter water

mmH2o,mmH2O

mmHg

milimeter Hg

mmHg

Last edited Jun 4, 2014 at 9:00 AM by epsi1on, version 3