Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / C++ float to dword vc++ 2008 express

Author
Message
miki
21
Years of Service
User Offline
Joined: 7th Jan 2005
Location:
Posted: 17th Sep 2009 17:03 Edited at: 17th Sep 2009 19:55
Hi,

I'm using vc++ 2008 express.

I cant get a correct float result.

After searching for solutions I have this:



It compiles fine and the string tables are in there okay.

DBP accepts it as function like this:



but the result equals 1073741824.

NOTE: All the integer function I've done work fine.

Can someone please help with the floats?

regards,
miki.


Sorry, It's C++. Not ASP.

sorted... changed my LLL to FFF

in the end
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 17th Sep 2009 23:55
Hah, I had the same problem a little earlier today - I had written D instead of F by mistake.

Login to post a reply

Server time is: 2026-06-10 09:32:27
Your offset time is: 2026-06-10 09:32:27