Math.PI

円周率を得る

構文

Math.PI

例文

<html>
<head>
<title>Math.PI</title>
</head>

<body>

<!--円周率を得るのサンプル-->
<script type="text/javascript">
document.write(Math.PI);
</script>

</body>
</html>

関連記事

スポンサーリンク

NOT演算子 否定

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る