Raised This Month: $51 Target: $400
 12% 

how to store float on sql table


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
farawayf
Senior Member
Join Date: Jan 2019
Old 09-06-2019 , 10:30   how to store float on sql table
Reply With Quote #1

PHP Code:
CREATE TABLE IF NOT EXISTS `players` (`steamidVARCHAR(32NOT NULL, `nameVARCHAR(32), `floatVARCHAR(32NOT NULL PRIMARY KEY (`steamid`)) 
Getting like float[client] = results.FetchFloat(0);

i did not find enough information on how to store float on sql table, so i dont know if im doing this right or not.
Is it right to store float like VARCHAR ? if not then how ?
farawayf is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode