From: John Lam Date: 2006-03-31T10:07:47+09:00 Subject: Re: Marshaling Decimal types from .NET ------=_Part_13233_16576879.1143767265060 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks, Charlie I added the new marshaling code to RubyCLR this afternoon. The only downside is that I have to convert the Decimal to a string first before I can call BigDecimal's constructor, so this definitely impacts performance when marshaling Decimals across the interop boundary. -John http://www.iunknown.com I would say yes. I expect you would have something like the following: > C# Ruby > ---- ---- > float Float > double Float > decimal BigDecimal > > I imagine when a C# programmer uses decimal, they choose it instead of > double for a reason, making a conversion from decimal to Float (double) > all the more likely to cause rounding error. > > -Charlie > > > ------=_Part_13233_16576879.1143767265060--