function isNumber($s, &$realnum, &$value)
 {
     if (strpos($s, '==') === false) {
         $s = str_replace('=', '==', $s);
     }
     foreach ($this->_makevars->keys() as $keys) {
         $s = str_replace(':' . $keys, $this->_makevars->getVar($keys), $s);
     }
     foreach ($this->_vars->keys() as $keys) {
         $s = str_replace(':' . $keys, $this->_vars->getVar($keys), $s);
     }
     //$s=str_replace($this->_vars->keys(), $this->_vars->values(), $s);
     if (count($this->_runningProc) > 0) {
         $procVarIdx = array_search($this->_runningProc[count($this->_runningProc) - 1], $this->_to_names);
         if ($procVarIdx !== false) {
             foreach ($this->_to_args[$procVarIdx]->keys() as $key) {
                 $s = str_replace(':' . $key, $this->_to_args[$procVarIdx]->getVar($key), $s);
             }
         }
     }
     $s = str_replace(':RANDOM', mt_rand(0, 32767), $s);
     $s = str_replace(':YEAR', date('Y'), $s);
     $s = str_replace(':MONTH', date('m'), $s);
     $s = str_replace(':DAY', date('d'), $s);
     $s = str_replace(':HOUR', date('H'), $s);
     $s = str_replace(':MINUTE', date('i'), $s);
     $s = str_replace(':SECOND', date('s'), $s);
     $s = str_replace(':CURRENTPIXEL', $this->_logo->pixel(), $s);
     $value = LogoParser::str2num($s, $c);
     $realnum = false;
     if (!$c) {
         $realnum = is_float($value);
         //$value=$value;
         return true;
     }
     $value = (int) $value;
     return false;
 }