code: public static function MINA(...$args)
      {
          $returnValue = null;
  
          // Loop through arguments
          $aArgs = Functions::flattenArray($args);
          foreach ($aArgs as $arg) {
              // Is it a numeric value?
              if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {
                  if (is_bool($arg)) {
                      $arg = (int) $arg;
                  } elseif (is_string($arg)) {
                      $arg = 0;
                  }
                  if (($returnValue === null) || ($arg < $returnValue)) {
                      $returnValue = $arg;
                  }
              }
          }
  
          if ($returnValue === null) {
              return 0;
          }
  
          return $returnValue;
      }
docs: MINA.
  
  Returns the smallest value in a list of arguments, including numbers, text, and logical values
  
  Excel Function:
  MINA(value1[,value2[, ...]])
  
  @category Statistical Functions
  
  @param mixed ...$args Data values
  
  @return float