mysql floatround - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql floatround (
/showthread.php?tid=455065)
mysql floatround -
audriuxxx - 31.07.2013
Hi,
Why when i write in database float number like:
2268.2551, i get 2268.26 - it possible, make, disable that floutround?
AW: mysql floatround -
CutX - 31.07.2013
for example,
if you define your colums like:
Код:
`Position` FLOAT(11,5)
11 is lenght, and 5 is digits.
inserting: 150000.69999
will look in database like inserted