Skip to content

Commit fbae8fb

Browse files
ndg63276Mark Williams
authored andcommitted
LIMS-1026: Don't round everything to 5 decimal places (#710)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
1 parent b21cf59 commit fbae8fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/src/Database/Type/MySQL.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,6 @@ function pq($query, $args = array(), $upperCaseKeys = true)
458458
{
459459
if ($val !== null)
460460
{
461-
if (gettype($val) == gettype(0.1))
462-
$val = round($val, 5);
463461
$val = strval($val);
464462
}
465463
if ($upperCaseKeys)

0 commit comments

Comments
 (0)