Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: sin - Manual
[go: Go Back, main page]

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

search for in the

sinh" width="11" height="7"/> <round
Last updated: Sun, 25 Nov 2007

view this page in

sin

(PHP 4, PHP 5)

sin — 正弦(サイン)

説明

float sin ( float $arg )

sin() は、arg のサインを 返します。arg はラジアンです。

パラメータ

arg

ラジアンで表した値。

返り値

arg のサインを返します。

Example#1 sin() の例

<?php

// 結果の精度は、指定によります。
echo sin(deg2rad(60));  //  0.866025403 ...
echo sin(60);           // -0.304810621 ...

?>



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

sinh" width="11" height="7"/> <round
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites