- $SQL = sprintf("`%s`=`%s`%s%s", $entries, $entries, $updateMode, (float) $values);
- } elseif (($values + 0) === $values) {
- // Number detected
- $SQL = sprintf("`%s`=%s", $entries, (float) $values);
-
- // Set it in config first
- setConfigEntry($entries, (float) $values);
+ $SQL = sprintf('`%s`=`%s`%s%01.5f', $entries, $entries, $updateMode, (float) $values);