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

Breadcrumb

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

RoundingMode::HALF_FLOOR

Rounds towards "nearest neighbor" unless both neighbors are equidistant, in which case round towards negative infinity.

If the result is positive, behaves as for HALF_DOWN; if negative, behaves as for HALF_UP.

File

vendor/ramsey/uuid/src/Math/RoundingMode.php, line 131

Class

RoundingMode
Specifies a rounding behavior for numerical operations capable of discarding precision.

Namespace

Ramsey\Uuid\Math

Code

public const HALF_FLOOR = 8;

API Navigation

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