original_string: public function round(int $precision = 0, ?RoundingMode $roundingMode = null): FloatObject
      {
          if ($roundingMode === null) {
              $roundingMode = RoundingMode::HALF_UP();
          }
  
          return new static((float) round($this->value, $precision, $roundingMode->value()));
      }
code: public function round(int $precision = 0, ?RoundingMode $roundingMode = null): FloatObject
      {
          if ($roundingMode === null) {
              $roundingMode = RoundingMode::HALF_UP();
          }
  
          return new static((float) round($this->value, $precision, $roundingMode->value()));
      }
code_tokens: public function round ( int $ precision = 0 , ? RoundingMode $ roundingMode = null ) : FloatObject { if ( $ roundingMode === null ) { $ roundingMode = RoundingMode :: HALF_UP ( ) ; } return new static ( ( float ) round ( $ this -> value , $ precision , $ roundingMode -> value ( ) ) ) ; }
docstring: Creates a float that represents the rounded value
  
  @param int               $precision    The number of digits to round to
  @param RoundingMode|null $roundingMode The rounding mode
  
  @return FloatObject
docstring_tokens: Creates a float that represents the rounded value