degrees()

概要

ラジアンを度に変換します。

Intent では、ほぼすべての場合に、度を基本とします。ただし、一部の計算はラジアンで実行した方が簡単です。度からラジアンへの変換には、radians() 関数を使用することができます。

構文

degrees ( radians As Number ) As Number 
引数 [タイプ] 説明
radians [数] 変換対象の値です。単位はラジアンであることを前提としています。

例 1

Intent >degrees(1.571)
--> 90.0116696150523

例 2

Intent >degrees(1.75 * m_pi)
--> 314.999733930882

例 3

Intent >round(degrees(1.75 * m_pi))
--> 315