Help for this page

Select Code to Download


  1. or download this
    #*A small script to check the sum of a number's digits recursively
    (until single digit of length). 
    ...
          return $total if ($len == 1);
          &spl($total) if ($len != 1);
       }
    
  2. or download this
    
    
    ...
      return $total if ($len == 1);
      &spl($total) if ($len != 1);
    }