- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Urmila Samariya has Published 145 Articles
Urmila Samariya
119 Views
In PHP, the bcsqrt() function is used to get the square root of an arbitrary precision number. It accepts the arbitrary precision number as a string and gives the square root of the number after scaling the result to the specified precision.Syntaxstring bcsqrt($num_string, $scale)ParametersThe bcsqrt() function accepts two different parameters: ... Read More
Urmila Samariya
201 Views
In PHP, bcscale() function is used to set the default parameter for all bc math functions. This function sets the default scale parameter for all following calls to the bc math functions that do not explicitly specify a scale parameter.Syntaxint bcscale($scale)ParametersThe $bcscale() parameter accepts only a single parameter and it ... Read More
Urmila Samariya
125 Views
In PHP, bcpowmod() function is used to raise an arbitrary precision base number to another exponent number, reduced by a specified modulus. The bcpowmod() function accepts three arbitrary precision numbers as strings and it returns the base number raised to the exponent modulo number after scaling the result to the ... Read More
Urmila Samariya
581 Views
In PHP, bcsub() math function is used to subtract one arbitrary precision number from another number. The bcsub() function takes two arbitrary precision numbers as strings and it gives the subtraction of the two numbers after scaling the result to an identified precision.Syntaxstring bcsub ($num_str1, $num_str2, $scaleVal)ParametersThe bcsub() math function ... Read More
Urmila Samariya
825 Views
In PHP, bccomp() function is used to compare two arbitrary numbers. The bccomp() function takes two arbitrary precision numbers as strings and gives the output as an integer after comparing the two numbers.Syntaxint bccomp($left_string1, $right_string1, $scaleval)ParametersThe bccomp() function accepts three different parameters− $left_string1, $right_string2 and $scaleval.$left_string1− It represents the left ... Read More
Urmila Samariya
576 Views
In PHP, bcdiv() math function is used to divide one arbitrary precision number from another number. The bcdiv() function takes two arbitrary precision numbers as strings and it gives the result as a division of two numbers after scaling the result to an identified precision. Or, we can say that ... Read More
Urmila Samariya
188 Views
In PHP, bcmod() math function is used to calculate the modulus of an arbitrary precision number. The bcmod() function takes an arbitrary precision number as strings and it gives the result as a modulus of numbers after scaling the result to an identified precision. Or, we can say that it ... Read More
Urmila Samariya
1K+ Views
In PHP, bcmul() math function is used to multiply one arbitrary precision number with another number. The bcmul() function takes two arbitrary precision numbers as strings and it gives the result as the multiplication of two numbers after scaling the result to an identified precision.Syntaxstring bcmul( $num_string1, $num_string2, $scaleVal)ParametersThe bcmul() ... Read More
Urmila Samariya
105 Views
In PHP, bcpow() function is used to raise an arbitrary precision base number to another exponent number. It takes two arbitrary precision numbers as strings and gives the base number raised to the power exponent after scaling the result to the listed precision.SyntaxString bcpow($base, $exponent, $scale)ParametersThe bcpow() function in PHP takes ... Read More
Urmila Samariya
305 Views
In PHP, bcadd() math function is used to add two arbitrary precision numbers. The bcadd() function takes two random precision numbers as strings and it returns the addition of the two numbers after scaling the result to an identified precision.Syntaxstring bcadd ( $num_str1, $num_str2, $scaleVal)ParametersThe bcadd() math function accepts three ... Read More
To Continue Learning Please Login
Login with Google