Browse Source

Better float detection

pull/5269/head
Michael 3 years ago
parent
commit
e1e28ba7c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/dba.php

+ 1
- 1
include/dba.php 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;
}


Loading…
Cancel
Save