Number

Provides helper methods for manipulating numbers.

Hierarchy

  • class \Drupal\Component\Utility\Number

Related topics

Utility classes and functions
Overview of utility classes and functions for developers.

File

core/lib/Drupal/Component/Utility/Number.php, line 10

Namespace

Drupal\Component\Utility

Members

Name Modifiers Type Description
Number::alphadecimalToInt public static function Decodes a sorting code back to an integer.
Number::intToAlphadecimal public static function Generates a sorting code from an integer.
Number::validStep public static function Verifies that a number is a multiple of a given step.
doc_Drupal
2016-10-29 09:32:22
Comments
Leave a Comment

Please login to continue.