I'm writing a Level Editor but my program is shows the X,Y,Z positions like DWORD(unsigned long). I want to show them like a float but I can't find a formula or function for that. If you know something please reply!
Recommended Answers
Jump to PostI want to show them like a float
To what end? You can't add precision that's not there.
Jump to PostWhat I mean is, there's no precision on DWORDs. Thus the two numbers after the '.' will always be 00. There's no point.
All 6 Replies
Narue
5,707
Bad Cop
Team Colleague
sasho648
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
sasho648
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
sasho648
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.