Skip to content

Commit

Permalink
LIMS-1026: Don't round everything to 5 decimal places (#710)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
2 people authored and NKatti2011 committed Jan 24, 2024
1 parent b21cf59 commit fbae8fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/src/Database/Type/MySQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,6 @@ function pq($query, $args = array(), $upperCaseKeys = true)
{
if ($val !== null)
{
if (gettype($val) == gettype(0.1))
$val = round($val, 5);
$val = strval($val);
}
if ($upperCaseKeys)
Expand Down

0 comments on commit fbae8fb

Please sign in to comment.