cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert 4 bytes into a real ?

Richard_Zwz
New Contributor II
hi, q)256 sv 0x41efd70a1106237194 How can I get 29.98e from 0x41efd70a ?Thank you.Richard Z
1 REPLY 1

Attila
New Contributor
q)first first(1#"e";1#4)1:reverse 0x41efd70a29.98edepending on endianness you need the reverse or not.Regards, AttilaOn 28 Nov 2009, at 11:50, Richard Z. wrote:> hi,> > q)256 sv 0x41efd70a> 1106237194> > How can I get 29.98e from 0x41efd70a ?> > Thank you.> > Richard Z> > --> > You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.> To post to this group, send email to personal-kdbplus@googlegroups.com.> To unsubscribe from this group, send email to personal-kdbplus+unsubscribe@googlegroups.com.> For more options, visit this group at http://groups.google.com/group/personal-kdbplus?hl=en.> >