首页> 网络编程教程
全部 ASP入门教程 ASP教程 ASP.NET教程 PHP教程 JSP教程 C#/CSHARP教程 XML教程 Ajax教程 Perl教程 Shell教程 Visual Basic教程 Delphi教程 移动开发教程 C/C++教程 Java教程 J2EE/J2ME 软件工程
网络编程教程
  • PHP hexdec() 函数

    PHP hexdec() 函数

    实例把十六进制转换为十进制:<?phpecho hexdec("1e") . "<br>";echo hexdec("a") . "<br>";echo hex
    2025-01-02
  • PHP fmod() 函数

    PHP fmod() 函数

    实例返回 x/y 的浮点数余数:<?php$x = 7;$y = 2;$result = fmod($x,$y);echo $result;// $result
    2025-01-02
  • PHP floor() 函数

    PHP floor() 函数

    实例向下舍入为最接近的整数:<?phpecho(floor(0.60) . "<br>");echo(floor(0.40) . "<br>");echo(fl
    2025-01-02
  • PHP exp() 函数

    PHP exp() 函数

    实例返回 'e' 的不同次方:<?phpecho(exp(0) . "<br>");echo(exp(1) . "<br>");echo(exp(10) . "
    2025-01-02
  • PHP decoct() 函数

    PHP decoct() 函数

    实例把十进制转换为八进制:<?phpecho decoct("30") . "<br>";echo decoct("10") . "<br>";echo dec
    2025-01-02
  • PHP dechex() 函数

    PHP dechex() 函数

    实例把十进制转换为十六进制:<?phpecho dechex("30") . "<br>";echo dechex("10") . "<br>";echo de
    2025-01-02
  • PHP cosh() 函数

    PHP cosh() 函数

    实例返回不同数的双曲余弦:<?phpecho(cosh(3) . "<br>");echo(cosh(-3) . "<br>");echo(cosh(0) .
    2025-01-02
  • PHP ceil() 函数

    PHP ceil() 函数

    实例向上舍入为最接近的整数:<?phpecho(ceil(0.60) . "<br>");echo(ceil(0.40) . "<br>");echo(ceil
    2025-01-02
  • PHP base_convert() 函数

    PHP base_convert() 函数

    实例把十六进制数转换为八进制数:<?php$hex = "E196"; echo base_convert($hex,16,8); ?>定义和用法base_co
    2025-01-02
  • PHP connection_status() 函数

    PHP connection_status() 函数

    实例返回连接状态:<?phpswitch (connection_status()){case CONNECTION_NORMAL: $txt = 'Conn
    2025-01-02
  • PHP tanh() 函数

    PHP tanh() 函数

    实例返回不同数的双曲正切:<?phpecho(tanh(M_PI_4) . "<br>");echo(tanh(0.50) . "<br>");echo(tan
    2025-01-02
  • PHP srand() 函数

    PHP srand() 函数

    实例播种随机数生成器:<?phpsrand(mktime());echo(rand());?>定义和用法srand() 函数播种随机数生成器(rand())。提
    2025-01-02
  • PHP sqrt() 函数

    PHP sqrt() 函数

    实例返回不同数的平方根:<?phpecho(sqrt(0) . "<br>");echo(sqrt(1) . "<br>");echo(sqrt(9) . "<
    2025-01-02
  • PHP sin() 函数

    PHP sin() 函数

    实例返回不同数的正弦:<?phpecho(sin(3) . "<br>");echo(sin(-3) . "<br>");echo(sin(0) . "<br>
    2025-01-02
  • PHP rand() 函数

    PHP rand() 函数

    实例生成随机数:<?phpecho(rand() . "<br>");echo(rand() . "<br>");echo(rand(10,100));?>定义
    2025-01-02