Display arry as hexadecimal
i need to write a program to store an array of floating point numbers and display it as hexadecimal in c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Feb 21, 2015, 12:05 PM EST
There are, of course, 4 bytes in a float value in C#:
The output (assuming a little-endian architecture such as x86) is: