code: public static function RAND($min = 0, $max = 0)
      {
          $min = Functions::flattenSingleValue($min);
          $max = Functions::flattenSingleValue($max);
  
          if ($min == 0 && $max == 0) {
              return (mt_rand(0, 10000000)) / 10000000;
          }
  
          return mt_rand($min, $max);
      }
docs: RAND.
  
  @param int $min Minimal value
  @param int $max Maximal value
  
  @return int Random number