function auto_convert($integer, $format, $toFormat)
 {
     $this->_set_params($integer, $format, $toFormat);
     $iterate = $this->get_key($this->format) - $this->get_key($this->toFormat);
     if ($iterate < 0) {
         $iterate = $iterate * -1;
     }
     //turn to positive
     $operator = $this->get_operator();
     return calc::compute($this->integer, $operator, $iterate);
 }