original_string: public function magnitude(): Utility
      {
          if ($this->number == 0) {
              $magnitude = 0;
          } else {
              $magnitude = floor(log10(abs($this->number)));
          }
  
          return new static($magnitude);
      }
code: public function magnitude(): Utility
      {
          if ($this->number == 0) {
              $magnitude = 0;
          } else {
              $magnitude = floor(log10(abs($this->number)));
          }
  
          return new static($magnitude);
      }
code_tokens: public function magnitude ( ) : Utility { if ( $ this -> number == 0 ) { $ magnitude = 0 ; } else { $ magnitude = floor ( log10 ( abs ( $ this -> number ) ) ) ; } return new static ( $ magnitude ) ; }
docstring: Get the order of magnitude of the number
  
  @return Utility
  @throws NonNumericValueException
docstring_tokens: Get the order of magnitude of the number