Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ApproximateValueToken.php

function ApproximateValueToken::__construct

Parameters

float $value:

int $precision:

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ApproximateValueToken.php, line 28

Class

ApproximateValueToken
Approximate value token

Namespace

Prophecy\Argument\Token

Code

public function __construct($value, $precision = 0) {
    $this->value = $value;
    $this->precision = $precision;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal