downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sinh> <round
Last updated: Fri, 13 Nov 2009

view this page in

sin

(PHP 4, PHP 5)

sin正弦

说明

float sin ( float $arg )

sin() 返回参数 arg 的正弦值。参数 arg 的单位为弧度。

Example #1 sin()

<?php

// 返回值的精度由 &php.ini; 中的 precision 指示确定
echo sin(deg2rad(60));  //  0.866025403 ...
echo sin(60);           // -0.304810621 ...

?>

参见: asin()cos()tan()deg2rad()



add a note add a note User Contributed Notes
sin
There are no user contributed notes for this page.

sinh> <round
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites