Improve parsing of floats for Imports

This commit is contained in:
David Bomba 2024-10-05 15:19:53 +10:00
parent 8192a48816
commit a49438945b
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ class BaseTransformer
*/ */
public function getFloat($data, $field) public function getFloat($data, $field)
{ {
if (array_key_exists($field, $data)) {\ if (array_key_exists($field, $data)) {
return $this->parseStringToFloat($data, $field); return $this->parseStringToFloat($data, $field);
// return Number::parseFloat($data[$field]); // return Number::parseFloat($data[$field]);
} }