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

    PHP mt_rand() 函数

    实例生成随机数:<?phpecho(mt_rand() . "<br>");echo(mt_rand() . "<br>");echo(mt_rand(10,1
    2024-12-26
  • PHP octdec() 函数

    PHP octdec() 函数

    实例把八进制转换为十进制:<?phpecho octdec("36") . "<br>";echo octdec("12") . "<br>";echo oct
    2024-12-26
  • PHP rad2deg() 函数

    PHP rad2deg() 函数

    实例把弧度转换为角度:<?phpecho rad2deg(pi()) . "<br>";echo rad2deg(pi()/4);?>定义和用法rad2deg(
    2024-12-26
  • PHP round() 函数

    PHP round() 函数

    实例对浮点数进行四舍五入:<?phpecho(round(0.60). "<br>");echo(round(0.50). "<br>");echo(round
    2024-12-26
  • PHP sinh() 函数

    PHP sinh() 函数

    实例返回不同数的双曲正弦:<?phpecho(sinh(3) . "<br>");echo(sinh(-3) . "<br>");echo(sinh(0) .
    2024-12-26
  • PHP tan() 函数

    PHP tan() 函数

    实例返回不同数的正切:<?phpecho(tan(M_PI_4) . "<br>");echo(tan(0.50) . "<br>");echo(tan(-0.
    2024-12-26
  • PHP connection_aborted() 函数

    PHP connection_aborted() 函数

    实例创建一个函数(check_abort()),在客户机终止脚本时写入一条日志消息:<?phpfunction check_abort() { if (co
    2024-12-26
  • Java 循环结构 - for, while 及 do…while

    Java 循环结构 - for, while 及 do…while

    顺序结构的程序语句只能被执行一次。如果您想要同样的操作执行多次,,就需要使用循环结构。Java中有三种主要的循环结构: while循环 do…while循
    2024-12-26
  • PHP bindec() 函数

    PHP bindec() 函数

    实例把二进制转换为十进制:<?phpecho bindec("0011") . "<br>";echo bindec("01") . "<br>";echo b
    2024-12-26
  • PHP cos() 函数

    PHP cos() 函数

    实例返回不同数的余弦:<?phpecho(cos(3) . "<br>");echo(cos(-3) . "<br>");echo(cos(0) . "<br>
    2024-12-26
  • PHP decbin() 函数

    PHP decbin() 函数

    实例把十进制转换为二进制:<?phpecho decbin("3") . "<br>";echo decbin("1") . "<br>";echo decbi
    2024-12-26
  • PHP deg2rad() 函数

    PHP deg2rad() 函数

    实例把角度转换为弧度:<?phpecho deg2rad("45") . "<br>";echo deg2rad("90") . "<br>";echo deg
    2024-12-26
  • PHP expm1() 函数

    PHP expm1() 函数

    实例返回 exp() - 1:<?phpecho(expm1(0) . "<br>");echo(expm1(1) . "<br>");echo(expm1(1
    2024-12-26
  • PHP getrandmax() 函数

    PHP getrandmax() 函数

    实例返回通过调用 rand() 函数显示的随机数的最大可能值:<?phpecho(getrandmax()); ?>定义和用法The getrandmax()
    2024-12-26
  • PHP hypot() 函数

    PHP hypot() 函数

    实例计算不同的直角三角形的斜边长度:<?phpecho hypot(3,4) . "<br>";echo hypot(4,6) . "<br>";echo hy
    2024-12-26