# Laboratory Value Converter

This utility is a tool for converting Standard International (SI) Units to
Conventional Units or Conventional Units to SI units.

## Using

Open `index.html` in a browser. All references to external files are relative,
so this project can be deployed at any path on a web server

## Adding new Conversions

Conversions are driven by the value attributes.

1. Add a new <option> to #old_units and assign it a value in the pattern
   `old_unit_[id]` where id is a unique number.
2. Add new options to #new_units
	 + The class must be `new_unit_[id]` where the id matches the id in #old_unit
	 + The value must be in the following pattern:
	   
		 [factor]_[true|false]_[string]


`factor`:        The number to multiply or divide the value provided by the user

`true or false`: If true, the value provided by the user will be divided by the
                 factor, otherwise it will be multiplied.
`string`:        A string for the converted values units as it should be
                 displayed to the user. Spaces, entities, and HTML can be used"

## Dependencies

- [Normalize](https://necolas.github.io/normalize.css/) version 7.0.0 (MIT License)
- [Skeleton CSS](http://getskeleton.com/) version 2.0.4 (MIT License)
- [JQuery](https://jquery.com/) version 3.2.1 (MIT License)

## License

See LICENSE.txt for details
