cos

種類メソッド
書式 Math.cos(値)
解説
値のコサインを求めます。
サンプルコード
function sampleCode()
{
txtField.data = Math.cos(0.5);
}
sampleCode();
実際のスクリプトをダウンロード