parameters: (self, string)
return_statement: return numbers.parse_decimal(string, locale=self.locale)
docstring: Parses localized decimal string into a float. Example::
  
              >>> parse_decimal('1,099.98', locale='en_US')
              1099.98
              >>> parse_decimal('1.099,98', locale='de')
              1099.98
  
          When the given string cannot be parsed, an exception is raised::
  
              >>> parse_decimal('2,109,998', locale='de')
              Traceback (most recent call last):
                 ...
              NumberFormatError: '2,109,998' is not a valid decimal number
  
          :param string:
              The string to parse.
          :returns:
              The parsed decimal number.
          :raises:
              ``NumberFormatError`` if the string can not be converted to a
              decimal number.
docstring_summary: Parses localized decimal string into a float. Example::
docstring_tokens: Parses localized decimal string into a float . Example ::
function: def parse_decimal(self, string):
          """Parses localized decimal string into a float. Example::
  
              >>> parse_decimal('1,099.98', locale='en_US')
              1099.98
              >>> parse_decimal('1.099,98', locale='de')
              1099.98
  
          When the given string cannot be parsed, an exception is raised::
  
              >>> parse_decimal('2,109,998', locale='de')
              Traceback (most recent call last):
                 ...
              NumberFormatError: '2,109,998' is not a valid decimal number
  
          :param string:
              The string to parse.
          :returns:
              The parsed decimal number.
          :raises:
              ``NumberFormatError`` if the string can not be converted to a
              decimal number.
          """
          return numbers.parse_decimal(string, locale=self.locale)
function_tokens: def parse_decimal ( self , string ) : return numbers . parse_decimal ( string , locale = self . locale )