示例#1
0
 /**
  * @return bool|float|mixed
  */
 public function evaluate()
 {
     $value = parent::evaluate();
     return sqrt($value);
 }
示例#2
0
 /**
  * @return bool|float|mixed
  */
 public function evaluate()
 {
     $value = parent::evaluate();
     $value = deg2rad($value);
     return cos($value);
 }