Trigonometry is one of the most important concepts in Mathematics. PHP cos is an inbuilt Math Function in PHP. It calculates the cosine value of a number in radians. The cosine value oscillates between -1 and 1. In this article, we will discuss the PHP cos Function. Also, we will discuss an example of using… Read more PHP cos Function | Find Cosine Value of a Number
Category: PHP
PHP acos Function | Calculate Arc Cosine of a Number
Trigonometry is one of the most important concepts in Mathematics. PHP acos is an inbuilt Math Function in PHP. It calculates the arc cosine of a number in radians which works the opposite of PHP cos Function. In this article, we will discuss the PHP acos Function. Also, we will discuss an example of using… Read more PHP acos Function | Calculate Arc Cosine of a Number
SQL sqrt Function | Square Root of a Number
SQL sqrt is an inbuilt Math Function in SQL Server. It calculates the square root of an input number in SQL Server. In this article, we will discuss the SQL sqrt Function. Also, we will discuss a few examples of using it. Syntax SQRT (number) Parameters The function expects only one input. The number for… Read more SQL sqrt Function | Square Root of a Number
PHP decbin Function | Convert Decimal To Binary String
PHP decbin is an inbuilt Math Function in PHP. It converts an input decimal integer into its corresponding binary representation string. You can convert a binary string to its corresponding decimal integer using PHP bindec Function. Syntax decbin ($integer) Parameters The function accepts only one parameter. The decimal value for which you want to find… Read more PHP decbin Function | Convert Decimal To Binary String
PHP bindec Function | Convert a Binary to Decimal
PHP bindec is an inbuilt Math Function in PHP. It converts an input binary string into its corresponding decimal representation. In this article, we will discuss the PHP bindec Function. You can use the PHP decbin Function to convert a decimal integer to it’s corresponding binary string. Syntax bindec ($binaryString) Parameters The function accepts only… Read more PHP bindec Function | Convert a Binary to Decimal
SQL abs Function | Absolute Value of an Integer
SQL abs is an inbuilt Math function in SQL Server. It returns the absolute (positive) value of a number. It is identical to modulus in mathematics. In this article, we will discuss the abs Function in SQL Server. Also, we will discuss examples of using it. Syntax ABS (number) Parameters The function expects only one… Read more SQL abs Function | Absolute Value of an Integer
PHP substr_count Function | Count of Occurrences of Substring
PHP substr_count is an inbuilt String Function in PHP. It calculates the number of occurrences of a substring in another string. Also, the function provides an option to search the substring within a range in the string. In this article, we will discuss the PHP substr_count Function. Also, we will discuss a few examples of… Read more PHP substr_count Function | Count of Occurrences of Substring
PHP exit Function | Print a Message and Exit Script
PHP exit is a very useful and important inbuilt function in PHP. It prints a message and exits the current running script. Therefore, any code after the exit function will not be executed. Also, shutdown functions and object destructors are always executed even after the exit function. In this article, we will discuss the PHP… Read more PHP exit Function | Print a Message and Exit Script
PHP die Function | Print a Message and Exit Script
PHP die is a very useful and important inbuilt function in PHP. It prints a message and exits the current running script. Therefore, any code after the die function will not be executed. Also, shutdown functions and object destructors are always executed even after the die function. In this article, we will discuss the PHP… Read more PHP die Function | Print a Message and Exit Script
PHP print | Print a Single String as Output
PHP print is not exactly a function, but a language construct which prints a single string in the output. Since it is a language construct and not a function, it is not mandatory to use parentheses with its argument list. In this article, we will discuss the PHP print Function. Also, we will discuss a… Read more PHP print | Print a Single String as Output