class 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\UtilityMembers
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Number.php/class/Number/8.1.x