PHP Math Functions

PHP Math Functions

PHP provides inbuilt Math Functions to perform Mathematical calculations which are very useful sometimes. The functions include exponential, trigonometric, logarithmic, etc.

Learn about PHP Math Functions on Concatly!

Table of Contents

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) ...
Read More
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 ...
Read More
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 ...
Read More