[Ironruby-core] IronRuby and System::Decimal
ben2004uk at googlemail.com
Thu Nov 6 19:20:04 EST 2008
Just playing around with some .Net interop and the Decimal type. When
I do puts, I expected that this would have given me the underlying
number, or at least call to_string.
Instead I got the following behaviour, with the object type being outputted.
>>> @d = System::Decimal.MinValue
>>> puts @d
>>> puts @d.to_string
Is this by design?
More information about the Ironruby-core