|
-
Oct 15th, 2011, 12:46 PM
#1
Thread Starter
Member
[RESOLVED] Convert Floating point to HexA Decimal?
Hi! i am really lost here, tried different way to get it to work, so far i can only manage to convert bytes to floats but not vice versa,
The way i am looking for would be something along these lines.
let's say i have a text box i call Text1.text when i type the number 1 here
i would love for it to be converted to this 000080F3 that is the reversed order of float 1 i think it was in hexaDecimal, but no matter what ive tried i never manage to get it right.
I know how to hex reverse it but to first convert it to this 3f800000
This tool here does exactly what i want to achive , is this not possible in VB?
http://babbage.cs.qc.edu/IEEE-754/Decimal.html
I type for example 2 i get 40000000 in hexadecimal
any simple way to do this in vb?
thank you for any leads on this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|