Improve parsing of floats for Imports
This commit is contained in:
parent
8192a48816
commit
a49438945b
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue