This is more java related but there is a java library and application (
http://futureboy.us/frinkdocs/) that provides a set of very powerful unit
conversion tools.


On Thu, Jan 14, 2010 at 10:49 AM, Scott Jaderholm <jaderh...@gmail.com>wrote:

> Hi,
>
> I created a library that provides unit conversion functions[1] for
> several common units and allows you to define new units conversions
> with a single equation.
>
> The library does a few interesting things automatically:
>
> First, if you define inches-to-feet, it will create feet-to-inches for you.
> Second, if you define inches-to-feet and feet-to-meters, it will
> create inches-to-meters and meters-to-inches for you.
> Third, it will create the equivalent square and cubic functions as well.
>
> So for inches, feet, yards, meters, centimeters, millimeters, miles,
> and kilometers, if you specify 7 equations this library will define
> 168 conversion functions for you (56 each for length, area, and
> volume).
>
> The code is at http://gist.github.com/276662#file_units.clj
>
> I'd love to receive feedback.
>
> Thanks,
> Scott
>
> Notes
> [1] For a reliable alternative, see JScience.org
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to