EULER
EULER = 2.718281828459045
EULER.
BESSELI(float $x, integer $ord) : float|string
BESSELI.
Returns the modified Bessel function In(x), which is equivalent to the Bessel function evaluated for purely imaginary arguments
Excel Function: BESSELI(x,ord)
float | $x | The value at which to evaluate the function. If x is nonnumeric, BESSELI returns the #VALUE! error value. |
integer | $ord | The order of the Bessel function. If ord is not an integer, it is truncated. If $ord is nonnumeric, BESSELI returns the #VALUE! error value. If $ord < 0, BESSELI returns the #NUM! error value. |
Result, or a string containing an error
None found |
BESSELJ(float $x, integer $ord) : float|string
BESSELJ.
Returns the Bessel function
Excel Function: BESSELJ(x,ord)
float | $x | The value at which to evaluate the function. If x is nonnumeric, BESSELJ returns the #VALUE! error value. |
integer | $ord | The order of the Bessel function. If n is not an integer, it is truncated. If $ord is nonnumeric, BESSELJ returns the #VALUE! error value. If $ord < 0, BESSELJ returns the #NUM! error value. |
Result, or a string containing an error
None found |
BESSELK(float $x, integer $ord) : float|string
BESSELK.
Returns the modified Bessel function Kn(x), which is equivalent to the Bessel functions evaluated for purely imaginary arguments.
Excel Function: BESSELK(x,ord)
float | $x | The value at which to evaluate the function. If x is nonnumeric, BESSELK returns the #VALUE! error value. |
integer | $ord | The order of the Bessel function. If n is not an integer, it is truncated. If $ord is nonnumeric, BESSELK returns the #VALUE! error value. If $ord < 0, BESSELK returns the #NUM! error value. |
Result, or a string containing an error
None found |
BESSELY(float $x, integer $ord) : float|string
BESSELY.
Returns the Bessel function, which is also called the Weber function or the Neumann function.
Excel Function: BESSELY(x,ord)
float | $x | The value at which to evaluate the function. If x is nonnumeric, BESSELK returns the #VALUE! error value. |
integer | $ord | The order of the Bessel function. If n is not an integer, it is truncated. If $ord is nonnumeric, BESSELK returns the #VALUE! error value. If $ord < 0, BESSELK returns the #NUM! error value. |
Result, or a string containing an error
None found |
BINTODEC(string $x) : string
BINTODEC.
Return a binary value as decimal.
Excel Function: BIN2DEC(x)
string | $x | The binary number (as a string) that you want to convert. The number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is not a valid binary number, or if number contains more than 10 characters (10 bits), BIN2DEC returns the #NUM! error value. |
None found |
BINTOHEX(string $x, integer $places = null) : string
BINTOHEX.
Return a binary value as hex.
Excel Function: BIN2HEX(x[,places])
string | $x | The binary number (as a string) that you want to convert. The number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is not a valid binary number, or if number contains more than 10 characters (10 bits), BIN2HEX returns the #NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, BIN2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, BIN2HEX returns the #VALUE! error value. If places is negative, BIN2HEX returns the #NUM! error value. |
None found |
BINTOOCT(string $x, integer $places = null) : string
BINTOOCT.
Return a binary value as octal.
Excel Function: BIN2OCT(x[,places])
string | $x | The binary number (as a string) that you want to convert. The number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is not a valid binary number, or if number contains more than 10 characters (10 bits), BIN2OCT returns the #NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, BIN2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, BIN2OCT returns the #VALUE! error value. If places is negative, BIN2OCT returns the #NUM! error value. |
None found |
DECTOBIN(string $x, integer $places = null) : string
DECTOBIN.
Return a decimal value as binary.
Excel Function: DEC2BIN(x[,places])
string | $x | The decimal integer you want to convert. If number is negative, valid place values are ignored and DEC2BIN returns a 10-character (10-bit) binary number in which the most significant bit is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number < -512 or if number > 511, DEC2BIN returns the #NUM! error value. If number is nonnumeric, DEC2BIN returns the #VALUE! error value. If DEC2BIN requires more than places characters, it returns the #NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, DEC2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, DEC2BIN returns the #VALUE! error value. If places is zero or negative, DEC2BIN returns the #NUM! error value. |
None found |
DECTOHEX(string $x, integer $places = null) : string
DECTOHEX.
Return a decimal value as hex.
Excel Function: DEC2HEX(x[,places])
string | $x | The decimal integer you want to convert. If number is negative, places is ignored and DEC2HEX returns a 10-character (40-bit) hexadecimal number in which the most significant bit is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number < -549,755,813,888 or if number > 549,755,813,887, DEC2HEX returns the #NUM! error value. If number is nonnumeric, DEC2HEX returns the #VALUE! error value. If DEC2HEX requires more than places characters, it returns the NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, DEC2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, DEC2HEX returns the #VALUE! error value. If places is zero or negative, DEC2HEX returns the #NUM! error value. |
None found |
DECTOOCT(string $x, integer $places = null) : string
DECTOOCT.
Return an decimal value as octal.
Excel Function: DEC2OCT(x[,places])
string | $x | The decimal integer you want to convert. If number is negative, places is ignored and DEC2OCT returns a 10-character (30-bit) octal number in which the most significant bit is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number < -536,870,912 or if number > 536,870,911, DEC2OCT returns the #NUM! error value. If number is nonnumeric, DEC2OCT returns the #VALUE! error value. If DEC2OCT requires more than places characters, it returns the NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, DEC2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, DEC2OCT returns the #VALUE! error value. If places is zero or negative, DEC2OCT returns the #NUM! error value. |
None found |
HEXTOBIN(string $x, integer $places = null) : string
HEXTOBIN.
Return a hex value as binary.
Excel Function: HEX2BIN(x[,places])
string | $x | the hexadecimal number you want to convert. Number cannot contain more than 10 characters. The most significant bit of number is the sign bit (40th bit from the right). The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is negative, HEX2BIN ignores places and returns a 10-character binary number. If number is negative, it cannot be less than FFFFFFFE00, and if number is positive, it cannot be greater than 1FF. If number is not a valid hexadecimal number, HEX2BIN returns the #NUM! error value. If HEX2BIN requires more than places characters, it returns the #NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, HEX2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, HEX2BIN returns the #VALUE! error value. If places is negative, HEX2BIN returns the #NUM! error value. |
None found |
HEXTODEC(string $x) : string
HEXTODEC.
Return a hex value as decimal.
Excel Function: HEX2DEC(x)
string | $x | The hexadecimal number you want to convert. This number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is not a valid hexadecimal number, HEX2DEC returns the NUM! error value. |
None found |
HEXTOOCT(string $x, integer $places = null) : string
HEXTOOCT.
Return a hex value as octal.
Excel Function: HEX2OCT(x[,places])
string | $x | The hexadecimal number you want to convert. Number cannot contain more than 10 characters. The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is negative, HEX2OCT ignores places and returns a 10-character octal number. If number is negative, it cannot be less than FFE0000000, and if number is positive, it cannot be greater than 1FFFFFFF. If number is not a valid hexadecimal number, HEX2OCT returns the #NUM! error value. If HEX2OCT requires more than places characters, it returns the #NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, HEX2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, HEX2OCT returns the #VALUE! error value. If places is negative, HEX2OCT returns the #NUM! error value. |
None found |
OCTTOBIN(string $x, integer $places = null) : string
OCTTOBIN.
Return an octal value as binary.
Excel Function: OCT2BIN(x[,places])
string | $x | The octal number you want to convert. Number may not contain more than 10 characters. The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is negative, OCT2BIN ignores places and returns a 10-character binary number. If number is negative, it cannot be less than 7777777000, and if number is positive, it cannot be greater than 777. If number is not a valid octal number, OCT2BIN returns the #NUM! error value. If OCT2BIN requires more than places characters, it returns the #NUM! error value. |
integer | $places | The number of characters to use. If places is omitted, OCT2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, OCT2BIN returns the #VALUE! error value. If places is negative, OCT2BIN returns the #NUM! error value. |
None found |
OCTTODEC(string $x) : string
OCTTODEC.
Return an octal value as decimal.
Excel Function: OCT2DEC(x)
string | $x | The octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is not a valid octal number, OCT2DEC returns the NUM! error value. |
None found |
OCTTOHEX(string $x, integer $places = null) : string
OCTTOHEX.
Return an octal value as hex.
Excel Function: OCT2HEX(x[,places])
string | $x | The octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation. If number is negative, OCT2HEX ignores places and returns a 10-character hexadecimal number. If number is not a valid octal number, OCT2HEX returns the NUM! error value.
|
integer | $places | The number of characters to use. If places is omitted, OCT2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). If places is not an integer, it is truncated. If places is nonnumeric, OCT2HEX returns the #VALUE! error value. If places is negative, OCT2HEX returns the #NUM! error value. |
None found |
COMPLEX(float $realNumber = 0.0, float $imaginary = 0.0, string $suffix = 'i') : string
COMPLEX.
Converts real and imaginary coefficients into a complex number of the form x +/- yi or x +/- yj.
Excel Function: COMPLEX(realNumber,imaginary[,suffix])
float | $realNumber | the real coefficient of the complex number |
float | $imaginary | the imaginary coefficient of the complex number |
string | $suffix | The suffix for the imaginary component of the complex number. If omitted, the suffix is assumed to be "i". |
None found |
IMAGINARY(string $complexNumber) : float
IMAGINARY.
Returns the imaginary coefficient of a complex number in x + yi or x + yj text format.
Excel Function: IMAGINARY(complexNumber)
string | $complexNumber | the complex number for which you want the imaginary coefficient |
None found |
IMREAL(string $complexNumber) : float
IMREAL.
Returns the real coefficient of a complex number in x + yi or x + yj text format.
Excel Function: IMREAL(complexNumber)
string | $complexNumber | the complex number for which you want the real coefficient |
None found |
IMABS(string $complexNumber) : float
IMABS.
Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.
Excel Function: IMABS(complexNumber)
string | $complexNumber | the complex number for which you want the absolute value |
None found |
IMARGUMENT(string $complexNumber) : float|string
IMARGUMENT.
Returns the argument theta of a complex number, i.e. the angle in radians from the real axis to the representation of the number in polar coordinates.
Excel Function: IMARGUMENT(complexNumber)
string | $complexNumber | the complex number for which you want the argument theta |
None found |
IMCONJUGATE(string $complexNumber) : string
IMCONJUGATE.
Returns the complex conjugate of a complex number in x + yi or x + yj text format.
Excel Function: IMCONJUGATE(complexNumber)
string | $complexNumber | the complex number for which you want the conjugate |
None found |
IMCOS(string $complexNumber) : float|string
IMCOS.
Returns the cosine of a complex number in x + yi or x + yj text format.
Excel Function: IMCOS(complexNumber)
string | $complexNumber | the complex number for which you want the cosine |
None found |
IMCOSH(string $complexNumber) : float|string
IMCOSH.
Returns the hyperbolic cosine of a complex number in x + yi or x + yj text format.
Excel Function: IMCOSH(complexNumber)
string | $complexNumber | the complex number for which you want the hyperbolic cosine |
None found |
IMCOT(string $complexNumber) : float|string
IMCOT.
Returns the cotangent of a complex number in x + yi or x + yj text format.
Excel Function: IMCOT(complexNumber)
string | $complexNumber | the complex number for which you want the cotangent |
None found |
IMCSC(string $complexNumber) : float|string
IMCSC.
Returns the cosecant of a complex number in x + yi or x + yj text format.
Excel Function: IMCSC(complexNumber)
string | $complexNumber | the complex number for which you want the cosecant |
None found |
IMCSCH(string $complexNumber) : float|string
IMCSCH.
Returns the hyperbolic cosecant of a complex number in x + yi or x + yj text format.
Excel Function: IMCSCH(complexNumber)
string | $complexNumber | the complex number for which you want the hyperbolic cosecant |
None found |
IMSIN(string $complexNumber) : float|string
IMSIN.
Returns the sine of a complex number in x + yi or x + yj text format.
Excel Function: IMSIN(complexNumber)
string | $complexNumber | the complex number for which you want the sine |
None found |
IMSINH(string $complexNumber) : float|string
IMSINH.
Returns the hyperbolic sine of a complex number in x + yi or x + yj text format.
Excel Function: IMSINH(complexNumber)
string | $complexNumber | the complex number for which you want the hyperbolic sine |
None found |
IMSEC(string $complexNumber) : float|string
IMSEC.
Returns the secant of a complex number in x + yi or x + yj text format.
Excel Function: IMSEC(complexNumber)
string | $complexNumber | the complex number for which you want the secant |
None found |
IMSECH(string $complexNumber) : float|string
IMSECH.
Returns the hyperbolic secant of a complex number in x + yi or x + yj text format.
Excel Function: IMSECH(complexNumber)
string | $complexNumber | the complex number for which you want the hyperbolic secant |
None found |
IMTAN(string $complexNumber) : float|string
IMTAN.
Returns the tangent of a complex number in x + yi or x + yj text format.
Excel Function: IMTAN(complexNumber)
string | $complexNumber | the complex number for which you want the tangent |
None found |
IMSQRT(string $complexNumber) : string
IMSQRT.
Returns the square root of a complex number in x + yi or x + yj text format.
Excel Function: IMSQRT(complexNumber)
string | $complexNumber | the complex number for which you want the square root |
None found |
IMLN(string $complexNumber) : string
IMLN.
Returns the natural logarithm of a complex number in x + yi or x + yj text format.
Excel Function: IMLN(complexNumber)
string | $complexNumber | the complex number for which you want the natural logarithm |
None found |
IMLOG10(string $complexNumber) : string
IMLOG10.
Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.
Excel Function: IMLOG10(complexNumber)
string | $complexNumber | the complex number for which you want the common logarithm |
None found |
IMLOG2(string $complexNumber) : string
IMLOG2.
Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
Excel Function: IMLOG2(complexNumber)
string | $complexNumber | the complex number for which you want the base-2 logarithm |
None found |
IMEXP(string $complexNumber) : string
IMEXP.
Returns the exponential of a complex number in x + yi or x + yj text format.
Excel Function: IMEXP(complexNumber)
string | $complexNumber | the complex number for which you want the exponential |
None found |
IMPOWER(string $complexNumber, float $realNumber) : string
IMPOWER.
Returns a complex number in x + yi or x + yj text format raised to a power.
Excel Function: IMPOWER(complexNumber,realNumber)
string | $complexNumber | the complex number you want to raise to a power |
float | $realNumber | the power to which you want to raise the complex number |
None found |
IMDIV(string $complexDividend, string $complexDivisor) : string
IMDIV.
Returns the quotient of two complex numbers in x + yi or x + yj text format.
Excel Function: IMDIV(complexDividend,complexDivisor)
string | $complexDividend | the complex numerator or dividend |
string | $complexDivisor | the complex denominator or divisor |
None found |
IMSUB(string $complexNumber1, string $complexNumber2) : string
IMSUB.
Returns the difference of two complex numbers in x + yi or x + yj text format.
Excel Function: IMSUB(complexNumber1,complexNumber2)
string | $complexNumber1 | the complex number from which to subtract complexNumber2 |
string | $complexNumber2 | the complex number to subtract from complexNumber1 |
None found |
IMSUM(string ...$complexNumbers) : string
IMSUM.
Returns the sum of two or more complex numbers in x + yi or x + yj text format.
Excel Function: IMSUM(complexNumber[,complexNumber[,...]])
string | $complexNumbers variadic | Series of complex numbers to add |
None found |
IMPRODUCT(string ...$complexNumbers) : string
IMPRODUCT.
Returns the product of two or more complex numbers in x + yi or x + yj text format.
Excel Function: IMPRODUCT(complexNumber[,complexNumber[,...]])
string | $complexNumbers variadic | Series of complex numbers to multiply |
None found |
DELTA(float $a, float $b) : integer
DELTA.
Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise. Use this function to filter a set of values. For example, by summing several DELTA functions you calculate the count of equal pairs. This function is also known as the Kronecker Delta function.
Excel Function: DELTA(a[,b])
float | $a | the first number |
float | $b | The second number. If omitted, b is assumed to be zero. |
None found |
GESTEP(float $number, float $step) : integer
GESTEP.
Excel Function: GESTEP(number[,step])
Returns 1 if number >= step; returns 0 (zero) otherwise Use this function to filter a set of values. For example, by summing several GESTEP functions you calculate the count of values that exceed a threshold.
float | $number | the value to test against step |
float | $step | The threshold value. If you omit a value for step, GESTEP uses zero. |
None found |
None found |
BITAND(integer $number1, integer $number2) : integer|string
BITAND.
Returns the bitwise AND of two integer values.
Excel Function: BITAND(number1, number2)
integer | $number1 | |
integer | $number2 |
None found |
BITOR(integer $number1, integer $number2) : integer|string
BITOR.
Returns the bitwise OR of two integer values.
Excel Function: BITOR(number1, number2)
integer | $number1 | |
integer | $number2 |
None found |
BITXOR(integer $number1, integer $number2) : integer|string
BITXOR.
Returns the bitwise XOR of two integer values.
Excel Function: BITXOR(number1, number2)
integer | $number1 | |
integer | $number2 |
None found |
BITLSHIFT(integer $number, integer $shiftAmount) : integer|string
BITLSHIFT.
Returns the number value shifted left by shift_amount bits.
Excel Function: BITLSHIFT(number, shift_amount)
integer | $number | |
integer | $shiftAmount |
None found |
BITRSHIFT(integer $number, integer $shiftAmount) : integer|string
BITRSHIFT.
Returns the number value shifted right by shift_amount bits.
Excel Function: BITRSHIFT(number, shift_amount)
integer | $number | |
integer | $shiftAmount |
None found |
ERF(float $lower, float $upper = null) : float|string
ERF.
Returns the error function integrated between the lower and upper bound arguments.
Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments, the function would return a #NUM! error. However, in Excel 2010, the function algorithm was improved, so that it can now calculate the function for both positive and negative ranges. PhpSpreadsheet follows Excel 2010 behaviour, and accepts negative arguments.
Excel Function: ERF(lower[,upper])
float | $lower | lower bound for integrating ERF |
float | $upper | upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit |
None found |
ERFPRECISE(float $limit) : float|string
ERFPRECISE.
Returns the error function integrated between the lower and upper bound arguments.
Excel Function: ERF.PRECISE(limit)
float | $limit | bound for integrating ERF |
None found |
ERFC(float $x) : float|string
ERFC.
Returns the complementary ERF function integrated between x and infinity
Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument, the function would return a #NUM! error. However, in Excel 2010, the function algorithm was improved, so that it can now calculate the function for both positive and negative x values. PhpSpreadsheet follows Excel 2010 behaviour, and accepts nagative arguments.
Excel Function: ERFC(x)
float | $x | The lower bound for integrating ERFC |
None found |
getConversionGroups() : array
getConversionGroups Returns a list of the different conversion groups for UOM conversions.
None found |
getConversionGroupUnits(string $group = null) : array
getConversionGroupUnits Returns an array of units of measure, for a specified conversion group, or for all groups.
string | $group | The group whose units of measure you want to retrieve |
None found |
getConversionGroupUnitDetails(string $group = null) : array
getConversionGroupUnitDetails.
string | $group | The group whose units of measure you want to retrieve |
None found |
getConversionMultipliers() : array
getConversionMultipliers Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM().
of mixed
None found |
CONVERTUOM(float $value, string $fromUOM, string $toUOM) : float|string
CONVERTUOM.
Converts a number from one measurement system to another. For example, CONVERT can translate a table of distances in miles to a table of distances in kilometers.
Excel Function: CONVERT(value,fromUOM,toUOM)
float | $value | the value in fromUOM to convert |
string | $fromUOM | the units for value |
string | $toUOM | the units for the result |
None found |
nbrConversionFormat(string $xVal, integer $places) : string
Formats a number base string value with leading zeroes.
string | $xVal | The "number" to pad |
integer | $places | The length that we want to pad this value |
The padded "number"
None found |
None found |
None found |
None found |
None found |
validateBitwiseArgument(mixed $value) : integer
Validate arguments passed to the bitwise functions.
mixed | $value |
None found |
None found |