Hi, Heshkod! Good evening! Hello!
There is a table with a field of type float
. What I just didn’t do was via MySQLi, so that it would take the float
value from the database and put the array in my array, and not the string
as he likes to do.
I quickly sketched a crutch that interrupts lines in fleets. But I really hope that I can remove it and someone will tell me how to choose a float
from MySQL
so that I am not ashamed.
Lol Here is a crutch:
$i = 0; $d = count($regions_db); while($i < $d) { $regions_db[$i][1] = floatval($regions_db[$i][1]); $i++; }