Extension:PhpTags Functions/Functions/Math
Appearance
These functions are similar to the native PHP functions, so you can use PHP documentation |
List of implemented functions
[edit]- abs β Absolute value
- acos β Arc cosine
- acosh β Inverse hyperbolic cosine
- asin β Arc sine
- asinh β Inverse hyperbolic sine
- atan2 β Arc tangent of two variables
- atan β Arc tangent
- atanh β Inverse hyperbolic tangent
- base_convert β Convert a number between arbitrary bases
- bindec β Binary to decimal
- ceil β Round fractions up
- cos β Cosine
- cosh β Hyperbolic cosine
- decbin β Decimal to binary
- dechex β Decimal to hexadecimal
- decoct β Decimal to octal
- deg2rad β Converts the number in degrees to the radian equivalent
- exp β Calculates the exponent of e
- expm1 β Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero
- floor β Round fractions down
- fmod β Returns the floating point remainder (modulo) of the division of the arguments
- getrandmax β Show largest possible random value
- hexdec β Hexadecimal to decimal
- hypot β Calculate the length of the hypotenuse of a right-angle triangle
- is_finite β Finds whether a value is a legal finite number
- is_infinite β Finds whether a value is infinite
- is_nan β Finds whether a value is not a number
- lcg_value β Combined linear congruential generator
- log10 β Base-10 logarithm
- log1p β Returns log(1 + number), computed in a way that is accurate even when the value of number is close to zero
- log β Natural logarithm
- max β Find highest value
- min β Find lowest value
- mt_getrandmax β Show largest possible random value
- mt_rand β Generate a better random value
- mt_srand β Seed the better random number generator
- octdec β Octal to decimal
- pi β Get value of pi
- pow β Exponential expression
- rad2deg β Converts the radian number to the equivalent number in degrees
- rand β Generate a random integer
- round β Rounds a float
- sin β Sine
- sinh β Hyperbolic sine
- sqrt β Square root
- srand β Seed the random number generator
- tan β Tangent
- tanh β Hyperbolic tangent