From: Jeff Cohen Date: 2006-03-31T11:03:06+09:00 Subject: Re: Marshaling Decimal types from .NET Logan Capaldo wrote: > On Mar 30, 2006, at 8:27 PM, Jeff Cohen wrote: > >> I wasn't aware of BigDecimal before - it's not part of the core in >> 1.82, >> is it? > > I'm pretty sure it is: > logan:/Users/logan% /usr/bin/ruby -v > ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] > logan:/Users/logan% /usr/bin/ruby -e 'require "bigdecimal"; puts > BigDecimal.new("1000022.0") + 2' > 0.1000024E7 AH HA! I didn't realize I had to specifically require it (duh!). Thanks Logan. Jeff www.softiesonrails.com -- Posted via http://www.ruby-forum.com/.