Skip to content

Commit

Permalink
Merge pull request #33 from jrobles-boom/master
Browse files Browse the repository at this point in the history
Float Fix
  • Loading branch information
Sammaye authored Apr 22, 2018
2 parents 9cabc27 + 6035cb2 commit 299f55f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ public function compare($column, $value = null, $partialMatch = false)
)
){
$value = (int)$value;
} elseif(preg_match('@[0-9]*(\.[0-9]+)?@si',$value)){
$value=(float)$value;
}
}

Expand Down

0 comments on commit 299f55f

Please sign in to comment.