Provides helper methods for manipulating numbers.
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