From: masa@... Date: 2001-03-25T07:15:37+09:00 Subject: [ruby-talk:13177] Re: units of measure >From: masa@stars.gsfc.nasa.gov >Subject: [ruby-talk:12839] Re: units of measure > I have just finished unit parser, which can read "1e-26 W/(m2 Hz)". > Reading units.dat in, unit conversion like cm <-> inch is available. > I am writing a class like your Quantity, featuring > > Units(3,'cm') + Units(2,'inch') #=> Units(8.08,'cm') I put the product at http://www.ir.isas.ac.jp/~masa/ruby/index-e.html#units I wonder there is more suitable name than "class Units". M.Tanaka