Method |
Description |
|
bytes ( integer $value, integer $precision = 2 ) : string |
Return the string value (byte) well formatted. |
|
isInfinity ( float | string $value ) : boolean |
Return TRUE if $value is equal to INF (php) or WPDKMath::INFINITY |
|
isPercentage ( string $value ) : boolean |
Return true if the string $value in input params over with % |
|
number ( string $value ) : integer | float |
Remove all alfa-char from a string and return number only. |
|
rModulus ( number $a, number $n ) : integer |
Mimic the math function modules like Ruby, Python & TLC |
|