1. ver 4.0 confused again about an error
- Posted by bernie Oct 06, 2008
- 974 views
-- junk.ew -- -- start junk.exw -- Using WIN98 SVN rev 1191 -- What don't I understand about this conversion ?? -- -- using a calculator I get #132CD2BF for 3217040639 -- printf(1,"%d\n\n",{3217040639}) -- this is wrong printf(1,"#%x\n\n",{3217040639}) -- this is wrong printf(1,"%d\n",{#132CD2BF}) -- this returns the correct value if getc(0) then end if -- end junk.exw
2. Re: ver 4.0 confused again about an error
- Posted by euphoric (admin) Oct 06, 2008
- 937 views
bernie said...
-- junk.ew -- -- start junk.exw -- Using WIN98 SVN rev 1191 -- What don't I understand about this conversion ?? -- -- using a calculator I get #132CD2BF for 3217040639 -- printf(1,"%d\n\n",{3217040639}) -- this is wrong printf(1,"#%x\n\n",{3217040639}) -- this is wrong printf(1,"%d\n",{#132CD2BF}) -- this returns the correct value if getc(0) then end if -- end junk.exw
The number should probably be 321704639.
3. Re: ver 4.0 confused again about an error
- Posted by SDPringle Oct 06, 2008
- 976 views
Bernie,
There is no problem with these results are you sure you haven't miss copied something. Like add an extra zero? I tried this with Windows calculator and get teh same results.
Shawn
4. Re: ver 4.0 confused again about an error
- Posted by bernie Oct 06, 2008
- 946 views
euphoric said...
bernie said...
-- junk.ew -- -- start junk.exw -- Using WIN98 SVN rev 1191 -- What don't I understand about this conversion ?? -- -- using a calculator I get #132CD2BF for 3217040639 -- printf(1,"%d\n\n",{3217040639}) -- this is wrong printf(1,"#%x\n\n",{3217040639}) -- this is wrong printf(1,"%d\n",{#132CD2BF}) -- this returns the correct value if getc(0) then end if -- end junk.exw
The number should probably be 321704639.
Thanks Yes, I should of used #6FC0224FF