![]() |
WPDK
1.5.0
WordPress Development Kit
|
Static Public Member Functions | |
| static | rModulus ($a, $n) |
| Do a modules. More... | |
| static | isPercentage ($value) |
| static | isInfinity ($value) |
| Infinity. More... | |
Static Public Member Functions inherited from WPDKObject | |
| static | __delta ($last_version, $old_version) |
| Object delta compare for combine. More... | |
| static | delta ($last_version, $old_version) |
| static | __dump ($var, $monitor=false) |
| Dump a variable. More... | |
Data Fields | |
| const | INFINITY = 'infinity' |
| Infinity constant. More... | |
| $__version = '1.0.3' | |
| Version. More... | |
Data Fields inherited from WPDKObject | |
| $__version = '1.0.0' | |
| The version number assigned to the class. More... | |
Additional Inherited Members | |
Public Member Functions inherited from WPDKObject | |
| __className () | |
| Returns the class object. More... | |
| __parentClass () | |
| Returns the class object for the receiver’s superclass. More... | |
| __isClass ($class) | |
| Brief. More... | |
| __isSubclassOfClass ($class) | |
| Return TRUE if the receiving class is a subclass of —or identical to— $class, otherwise FALSE. More... | |
Math utility and fix
Definition at line 12 of file wpdk-math.php.
|
static |
Infinity.
Check if infinity
| float | string | $value | Check value |
Definition at line 70 of file wpdk-math.php.
|
static |
Return true if the string $value in input params over with %
| string | $value | String value to check |
Definition at line 54 of file wpdk-math.php.
|
static |
Do a modules.
Mimic the math function modules like Ruby, Python & TLC
| number | $a | Number a |
| number | $n | Module b of a |
Definition at line 42 of file wpdk-math.php.
| string $__version = '1.0.3' |
| const INFINITY = 'infinity' |
Infinity constant.
Infinity const for set a value as never ending
Definition at line 19 of file wpdk-math.php.