<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # PHP Math 函數 ## PHP Math 簡介 數學 (Math) 函數能處理 integer 和 float 范圍內的值。 ## 安裝 數學 (Math) 函數是 PHP 核心的組成部分。無需安裝即可使用這些函數。 ## PHP Math 函數 PHP:指示支持該函數的最早的 PHP 版本。 | 函數 | 描述 | PHP | | --- | --- | --- | | [abs()](func_math_abs.asp) | 絕對值。 | 3 | | [acos()](func_math_acos.asp) | 反余弦。 | 3 | | [acosh()](func_math_acosh.asp) | 反雙曲余弦。 | 4 | | [asin()](func_math_asin.asp) | 反正弦。 | 3 | | [asinh()](func_math_asinh.asp) | 反雙曲正弦。 | 4 | | [atan()](func_math_atan.asp) | 反正切。 | 3 | | [atan2()](func_math_atan.asp) | 兩個參數的反正切。 | 3 | | [atanh()](func_math_atanh.asp) | 反雙曲正切。 | 4 | | [base_convert()](func_math_base_convert.asp) | 在任意進制之間轉換數字。 | 3 | | [bindec()](func_math_bindec.asp) | 把二進制轉換為十進制。 | 3 | | [ceil()](func_math_ceil.asp) | 向上舍入為最接近的整數。 | 3 | | [cos()](func_math_cos.asp) | 余弦。 | 3 | | [cosh()](func_math_cosh.asp) | 雙曲余弦。 | 4 | | [decbin()](func_math_decbin.asp) | 把十進制轉換為二進制。 | 3 | | [dechex()](func_math_dechex.asp) | 把十進制轉換為十六進制。 | 3 | | [decoct()](func_math_decoct.asp) | 把十進制轉換為八進制。 | 3 | | [deg2rad()](func_math_deg2rad.asp) | 將角度轉換為弧度。 | 3 | | [exp()](func_math_exp.asp) | 返回 E&lt;sup&gt;x&lt;/sup&gt; 的值。 | 3 | | [expm1()](func_math_expm1.asp) | 返回 E&lt;sup&gt;x&lt;/sup&gt; - 1 的值。 | 4 | | [floor()](func_math_floor.asp) | 向下舍入為最接近的整數。 | 3 | | [fmod()](func_math_fmod.asp) | 返回除法的浮點數余數。 | 4 | | [getrandmax()](func_math_getrandmax.asp) | 顯示隨機數最大的可能值。 | 3 | | [hexdec()](func_math_hexdec.asp) | 把十六進制轉換為十進制。 | 3 | | [hypot()](func_math_hypot.asp) | 計算直角三角形的斜邊長度。 | 4 | | [is_finite()](func_math_is_finite.asp) | 判斷是否為有限值。 | 4 | | [is_infinite()](func_math_is_infinite.asp) | 判斷是否為無限值。 | 4 | | [is_nan()](func_math_is_nan.asp) | 判斷是否為合法數值。 | 4 | | [lcg_value()](func_math_lcg_value.asp) | 返回范圍為 (0, 1) 的一個偽隨機數。 | 4 | | [log()](func_math_log.asp) | 自然對數。 | 3 | | [log10()](func_math_log10.asp) | 以 10 為底的對數。 | 3 | | [log1p()](func_math_log1p.asp) | 返回 log(1 + number)。 | 4 | | [max()](func_math_max.asp) | 返回最大值。 | 3 | | [min()](func_math_min.asp) | 返回最小值。 | 3 | | [mt_getrandmax()](func_math_mt_getrandmax.asp) | 顯示隨機數的最大可能值。 | 3 | | [mt_rand()](func_math_mt_rand.asp) | 使用 Mersenne Twister 算法返回隨機整數。 | 3 | | [mt_srand()](func_math_mt_srand.asp) | 播種 Mersenne Twister 隨機數生成器。 | 3 | | [octdec()](func_math_octdec.asp) | 把八進制轉換為十進制。 | 3 | | [pi()](func_math_pi.asp) | 返回圓周率的值。 | 3 | | [pow()](func_math_pow.asp) | 返回 x 的 y 次方。 | 3 | | [rad2deg()](func_math_rad2deg.asp) | 把弧度數轉換為角度數。 | 3 | | [rand()](func_math_rand.asp) | 返回隨機整數。 | 3 | | [round()](func_math_round.asp) | 對浮點數進行四舍五入。 | 3 | | [sin()](func_math_sin.asp) | 正弦。 | 3 | | [sinh()](func_math_sinh.asp) | 雙曲正弦。 | 4 | | [sqrt()](func_math_sqrt.asp) | 平方根。 | 3 | | [srand()](func_math_srand.asp) | 播下隨機數發生器種子。 | 3 | | [tan()](func_math_tan.asp) | 正切。 | 3 | | [tanh()](func_math_tanh.asp) | 雙曲正切。 | 4 | ## PHP Math 常量 | 常量名 | 常量名 | 常量值 | PHP | | --- | --- | --- | --- | | M_E | e | 2.7182818284590452354 | 4 | | M_EULER | Euler 常量 | 0.57721566490153286061 | 5.2.0 | | M_LNPI | log_e(pi) | 1.14472988584940017414 | 5.2.0 | | M_LN2 | log_e 2 | 0.69314718055994530942 | 4 | | M_LN10 | log_e 10 | 2.30258509299404568402 | 4 | | M_LOG2E | log_2 e | 1.4426950408889634074 | 4 | | M_LOG10E | log_10 e | 0.43429448190325182765 | 4 | | M_PI | Pi | 3.14159265358979323846 | 3 | | M_PI_2 | pi/2 | 1.57079632679489661923 | 4 | | M_PI_4 | pi/4 | 0.78539816339744830962 | 4 | | M_1_PI | 1/pi | 0.31830988618379067154 | 4 | | M_2_PI | 2/pi | 0.63661977236758134308 | 4 | | M_SQRTPI | sqrt(pi) | 1.77245385090551602729 | 5.2.0 | | M_2_SQRTPI | 2/sqrt(pi) | 1.12837916709551257390 | 4 | | M_SQRT1_2 | 1/sqrt(2) | 0.70710678118654752440 | 4 | | M_SQRT2 | sqrt(2) | 1.41421356237309504880 | 4 | | M_SQRT3 | sqrt(3) | 1.73205080756887729352 | 5.2.0 |
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看