From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-09-20T15:45:48+09:00 Subject: [ruby-talk:21423] Re: is there an unsigned version of INT2NUM?(Nevermind) In article , Phil Tomson wrote: >I've got a C variable thats an unsigned long that I want to be able to >read on the Ruby side as unsigned. currently I'm using INT2NUM() (also >tried INT2FIX) and when I print the variable out from the Ruby script I >get a large negative number. I don't want the '-' sign. Is there another >conversion macro for doing this? (something like UINT2NUM, but I don't >see anything like this) Ooops...Just after I sent this I realized that I was looking in the wrong directory - I found UINT2NUM and it does what I need it to do. Phil