小白教程
所有教程
关于
Search
172.70.178.233
172.70.178.233
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Func math tan”的源代码
本页内容
上一节:
Func_math_srand
下一节:
Func_math_tanh
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:tan()}}[[Category:PHP Math 数学函数参考手册|47]] = PHP tan() 函数 = [[:Category:PHP Math 数学函数参考手册]] 返回不同数的正切: <sample title="" desc="" lang="php" hererun="1"> <?php echo(tan(M_PI_4) . "<br>"); echo(tan(0.50) . "<br>"); echo(tan(-0.50) . "<br>"); echo(tan(5) . "<br>"); echo(tan(10) . "<br>"); echo(tan(-5) . "<br>"); echo(tan(-10)); ?> </sample> == 定义和用法 == tan() 函数返回一个数的正切。 == 语法 == <pre> tan(number);</pre> {| class="table table-striped table-hover" ! 参数 ! 描述 |- | number | 必需。规定一个弧度值。 |} == 技术细节 == {| class="table table-striped table-hover" | 返回值: | number 的正切。 |- | 返回类型: | Float |- | PHP 版本: | 4+ |} [[:Category:PHP Math 数学函数参考手册]]
返回至“
Func math tan
”。
上一节:
Func_math_srand
下一节:
Func_math_tanh