original_string: public function setDecimalPoint($decimalPoint)
      {
          switch ($decimalPoint) {
              case self::DECIMAL_COMMA:
              case ',':
                  $this->decimalPoint = self::DECIMAL_COMMA;
                  break;
  
              case self::DECIMAL_POINT_OR_COMMA:
              case '.,':
              case ',.':
                  $this->decimalPoint = self::DECIMAL_POINT_OR_COMMA;
                  break;
  
              case self::DECIMAL_POINT:
              case '.':
              default:
                  $this->decimalPoint = self::DECIMAL_POINT;
          }
  
          return $this;
      }
code: public function setDecimalPoint($decimalPoint)
      {
          switch ($decimalPoint) {
              case self::DECIMAL_COMMA:
              case ',':
                  $this->decimalPoint = self::DECIMAL_COMMA;
                  break;
  
              case self::DECIMAL_POINT_OR_COMMA:
              case '.,':
              case ',.':
                  $this->decimalPoint = self::DECIMAL_POINT_OR_COMMA;
                  break;
  
              case self::DECIMAL_POINT:
              case '.':
              default:
                  $this->decimalPoint = self::DECIMAL_POINT;
          }
  
          return $this;
      }
code_tokens: public function setDecimalPoint ( $ decimalPoint ) { switch ( $ decimalPoint ) { case self :: DECIMAL_COMMA : case ',' : $ this -> decimalPoint = self :: DECIMAL_COMMA ; break ; case self :: DECIMAL_POINT_OR_COMMA : case '.,' : case ',.' : $ this -> decimalPoint = self :: DECIMAL_POINT_OR_COMMA ; break ; case self :: DECIMAL_POINT : case '.' : default : $ this -> decimalPoint = self :: DECIMAL_POINT ; } return $ this ; }
docstring: Set the decimal point
  
  @param int|string $decimalPoint
  @return FloatValidator
docstring_tokens: Set the decimal point