Better float detection
This commit is contained in:
@@ -1309,7 +1309,7 @@ class dba {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// To prevent to round floats we look for them
|
// To prevent to round floats we look for them
|
||||||
if (is_float($single_value)) {
|
if (round($single_value) != (float)$single_value) {
|
||||||
$is_float = true;
|
$is_float = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user