On 28 March 2010 22:07, Glen Rubin <rubing...@gmail.com> wrote:
> I guess not, some of the values I am obtaining are off.  I have tried
> searching for a java class that will understand a signed (two's
> complement) hex (16 bit, 0xff32)
>
> This is something so basic, I know there must be some in built
> function for this??
>
> On Mar 28, 3:06 pm, Glen Rubin <rubing...@gmail.com> wrote:
>> I am working with 2's complement hex.  It looks like i can get the
>> value of any number by just using byte?
>> e.g.:
>> (byte 0xff32)

Try (short 0xff32).

-- 
Michael Wood <esiot...@gmail.com>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to