original_string: public static function precision($value, $precision = 3, array $options = [])
      {
          $formatter = static::formatter(['precision' => $precision, 'places' => $precision] + $options);
  
          return $formatter->format($value);
      }
code: public static function precision($value, $precision = 3, array $options = [])
      {
          $formatter = static::formatter(['precision' => $precision, 'places' => $precision] + $options);
  
          return $formatter->format($value);
      }
code_tokens: public static function precision ( $ value , $ precision = 3 , array $ options = [ ] ) { $ formatter = static :: formatter ( [ 'precision' => $ precision , 'places' => $ precision ] + $ options ) ; return $ formatter -> format ( $ value ) ; }
docstring: Formats a number with a level of precision.
  
  Options:
  
  - `locale`: The locale name to use for formatting the number, e.g. fr_FR
  
  @param float $value A floating point number.
  @param int $precision The precision of the returned number.
  @param array $options Additional options
  @return string Formatted float.
  @link https://book.cakephp.org/3.0/en/core-libraries/number.html#formatting-floating-point-numbers
docstring_tokens: Formats a number with a level of precision .