I’m looking for a simple way to decode data stored in the Decimal64 format (described here: http://en.wikipedia.org/wiki/Decimal64_floating-point_format) using C#.
Any thoughts?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looked everywhere for it, finally we implemented it ourselves.
Update
Some of you has asked us for the code – here is our code for it, We call it Float Decimal, I think it matches what Decimal 64 does – but no guarantees – please check for yourself.
Also note – that the value of _size should be 8.
To save: