|
-
October 13th, 2009, 01:31 PM
#8
Re: float casting problem
 Originally Posted by Zachm
I am well aware that the code I posted doesn't make any sense - but nevertheless it was what it took to fix the float value.
Hi Zachm,
After re-reading your first post, I figured that you must have known what you were doing. I even edited my post to remove the somewhat “mentoring” part (restored it now since you’ve already replied to it).
For your code to work, there must be some weird data massaging going on in that “external application”. Could they have bit-copied their float to int, saved it as int, but flagged it as float? (It hurts a little even to read my last sentence…)
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
Tags for this Thread
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
|