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

Breadcrumb

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

RoundingMode::UP

Rounds away from zero.

Always increments the digit prior to a nonzero discarded fraction. Note that this rounding mode never decreases the magnitude of the calculated value.

File

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

Class

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

Namespace

Ramsey\Uuid\Math

Code

public const UP = 1;

API Navigation

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