#280: NSNumber#decimalValue cant convert to ruby object
--------------------------------------+-------------------------------------
Reporter: matt.whites...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------------+-------------------------------------
macirb
>> framework 'foundation'
=> true
>> NSNumber.numberWithFloat(1.2)
=> #<NSCFNumber:0x800053a60>
>> NSNumber.numberWithFloat(1.2).decimalValue
ArgumentError: can't convert C/Objective-C value `0x7fff5fbf94a0' of type
`b8' to Ruby object
from (irb):3:in `decimalValue'
--
Ticket URL: <http://www.macruby.org/trac/ticket/280>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel