protected function parseToEnglish(string $value): string
    {
        if (ctype_digit($value)) {
            return $value;
        }
        $localeConv = $this->getLocaleInfo();
        $replacements = [$localeConv['thousands_sep'], $localeConv['currency_symbol'], ' ', "\t"];
        $value = $this->numberToEnglish(str_replace($replacements, '', $value));
        return (! is_numeric($value)) ? '0' : $value;
    }
protected function parseToEnglish(string $value): string
    {
        if (ctype_digit($value)) {
            return $value;
        }
        $localeConv = $this->getLocaleInfo();
        $replacements = [$localeConv['thousands_sep'], $localeConv['currency_symbol'], ' ', "\t"];
        $value = $this->numberToEnglish(str_replace($replacements, '', $value));
        return (! is_numeric($value)) ? '0' : $value;
    }
protected function parseToEnglish ( string $ value ) : string { if ( ctype_digit ( $ value ) ) { return $ value ; } $ localeConv = $ this -> getLocaleInfo ( ) ; $ replacements = [ $ localeConv [ 'thousands_sep' ] , $ localeConv [ 'currency_symbol' ] , ' ' , "\t" ] ; $ value = $ this -> numberToEnglish ( str_replace ( $ replacements , '' , $ value ) ) ; return ( ! is_numeric ( $ value ) ) ? '0' : $ value ; }
Remove the thousands separator, currency symbol and white spaces.
Returns the resulting string if is numeric,  otherwise returns '0'

@param string $value
@return string
Remove the thousands separator currency symbol and white spaces . Returns the resulting string if is numeric otherwise returns 0