[Q] Difference beetween %d and %i
#6

So, there isn't a big difference,

i can use %i tho show 500000 as i can use %d ?

Sometimes my sql request bug,

format(query, sizeof(query), "UPDATE `"db_bizs"` SET Price=%i WHERE ID=%d",30000,1);

and it update the price of the biz 1 to 0.

So i ask it could become from the %i

Max
Reply


Messages In This Thread
[Q] Difference beetween %d and %i - by scott1 - 16.09.2012, 13:27
Re: [Q] Difference beetween %d and %i - by ThomasCarter - 16.09.2012, 13:28
Re: [Q] Difference beetween %d and %i - by Seven_of_Nine - 16.09.2012, 13:29
Re: [Q] Difference beetween %d and %i - by C00K13M0N$73R - 16.09.2012, 13:43
Re: [Q] Difference beetween %d and %i - by Babul - 16.09.2012, 13:46
Re : [Q] Difference beetween %d and %i - by scott1 - 16.09.2012, 13:46
Re: Re : [Q] Difference beetween %d and %i - by scottyishere - 16.09.2012, 13:47
Re: [Q] Difference beetween %d and %i - by Babul - 16.09.2012, 13:49
Re: [Q] Difference beetween %d and %i - by AtItsMax - 16.09.2012, 13:53
Re: [Q] Difference beetween %d and %i - by Sinner - 16.09.2012, 14:09

Forum Jump:


Users browsing this thread: 2 Guest(s)