Little help with float+mysql
#7

you have to store the field content into a string, and THEN convert it into a float using floatstr()

pawn Код:
new content[10];
cache_get_field_content(0, "pX", content, mysql_handle); EmpInfo[0][E_pX] = floatstr(content);
Reply


Messages In This Thread
Little help with float+mysql - by Carlґ - 14.12.2012, 21:59
Re: Little help with float+mysql - by Djole1337 - 14.12.2012, 22:03
Re: Little help with float+mysql - by Carlґ - 14.12.2012, 22:10
Re: Little help with float+mysql - by Djole1337 - 14.12.2012, 22:14
Re: Little help with float+mysql - by Carlґ - 14.12.2012, 22:18
Re: Little help with float+mysql - by Djole1337 - 14.12.2012, 22:19
Re: Little help with float+mysql - by ReneG - 15.12.2012, 03:54
Re: Little help with float+mysql - by Djole1337 - 15.12.2012, 08:18

Forum Jump:


Users browsing this thread: 2 Guest(s)