original_string: public function convert($value, $from, $to, $decimals = 2)
      {
          return (float) $this->from($value, $from)->to($to, $decimals, !empty($decimals));
      }
code: public function convert($value, $from, $to, $decimals = 2)
      {
          return (float) $this->from($value, $from)->to($to, $decimals, !empty($decimals));
      }
code_tokens: public function convert ( $ value , $ from , $ to , $ decimals = 2 ) { return ( float ) $ this -> from ( $ value , $ from ) -> to ( $ to , $ decimals , ! empty ( $ decimals ) ) ; }
docstring: Shortcut method to convert units
  @param number $value
  @param string $from
  @param string $to
  @param integer $decimals
  @return float
docstring_tokens: Shortcut method to convert units