1
1
Fork 0

Better float detection

This commit is contained in:
Michael 2018-06-21 21:55:43 +00:00
parent 1b85b75563
commit e1e28ba7c3

View file

@ -1309,7 +1309,7 @@ class dba {
}
// To prevent to round floats we look for them
if (is_float($single_value)) {
if (round($single_value) != (float)$single_value) {
$is_float = true;
}