BC高精准度函数库:bcsqrt

bcsqrt

(PHP3 , PHP4)

bcsqrt ---&">nbsp; 取得高精准度数字的平方根

语法 : string bcsqrt(string operand, int scale);

说明 :

传回参数operand平方根的值。参数scale是非必需的,scale是用来设定传回的值到小数点第几位。

参考 : bcpow( )

时间: 2024-08-18 10:33:05

BC高精准度函数库:bcsqrt的相关文章

BC高精准度函数库:bcpow

bcpow (PHP3 , PHP4) bcpow ---&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 求高精准度数字的次方值 语法 : string bcpow(string x, string y [ , int scale] ); 说明 : 传回参数x的y次方项的值.参数scale是非必需的,scale是用来设定传回的值到小数点第几位. 参考 : bcsqrt( )

BC高精准度函数库:bcdiv

bcdiv (PHP3 , PHP4) bcdiv ---&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 将二个高精准度数字相除 语法 : string bcdiv(string left operand, string right operand [ , int scale] ); 说明 : 将参数left operand除以right operand,且传回结果.参数scale是非必需的,scale是用来设定

BC高精准度函数库:bcadd

bcadd (PHP3 , PHP4) bcadd ---&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 将二个高精准度数字相加 语法 : string bcadd(string left operand, string right operand [ , int scale] ); 说明 : 将参数left operand与right operand相加,传回的字符串为相加的和.参数scale是非必需的,sca

BC高精准度函数库:bccomp

bccomp (PHP3 , PHP4) bccomp ---&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 比较二个高精准度数字 语法 : int bccomp(string left operand, string right operand [ , int scale] ); 说明 : 比较参数left operand与right operand,且传回值为整数.参数scale是非必需的,scale是用来设

BC高精准度函数库:bcsub

bcsub (PHP3 , PHP4) bcsub ---&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 将二个高精准度数字相减 语法 : string bcsub(string left operand, string right operand [ , int scale] ); 说明 : 将参数left operand减掉right operand,且传回相减后的值.参数scale是非必需的,scale是用

BC高精准度函数库:bcmul

bcmul (PHP3 , PHP4) bcmul ---&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 将二个高精准度数字相乘 语法 : string bcmul(string left operand, string right operand [ , int scale] ); 说明 : 将left operand与right operand相乘,且传回结果.参数scale是非必需的,scale是用来设定传

php BC高精确度函数库

$right 返回 1 *$scale 小数点位数 *************************************************************************************** $a = 4.45; $b = 5.54; if(bccomp($a, $b, 2) == 0) { } ***********************************************************************************

动态网页技术:ASP函数库

动态|函数|网页 ASP函数库<%''''                   函数目录                    ''''''''-----------------------------------------------'''''''' 函数ID:0001[截字符串]                        '''''''' 函数ID:0002[过滤html]                        '''''''' 函数ID:0003[打开任意数据表并显示表结构及

php字符串处理函数库

函数|字符串 php字符串处理函数库 AddSlashes 字符串加入斜线. 语法: string addslashes(string str); 返回值: 字符串 函数种类: 资料处理 本函数使需要让数据库处理的字符串,引号的部份加上斜线,以供数据库查询 (query) 能顺利运作.这些会被改的字符包括单引号 (').双引号 (").反斜线 backslash (\) 以及空字符 NUL (the null byte). bin2hex 二进位转成十六进位. 语法: string bin2he