[ バージョン ] ドロップダウン リストを使用してサービスを切り替えます。 ナビゲーションの詳細を確認します。
適用対象: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
数式 degrees = (180 / PI ) * angle_in_radiansを使用して、角度の値をラジアン単位で度単位の値に変換します。
構文
degrees(
ラジアン)
構文規則について詳しく知る。
パラメーター
| 件名 | タイプ | 必須 | 説明 |
|---|---|---|---|
| ラジアン | real |
✔️ | 度に変換する角度をラジアン単位で指定します。 |
返品
ラジアン単位で指定された角度に対応する度数単位の角度を返します。
例
次の例は、ラジアンを度に変換する方法を示しています。
print degrees0 = degrees(pi()/4), degrees1 = degrees(pi()*1.5), degrees2 = degrees(0)
出力
| degrees0 | degrees1 | degrees2 |
|---|---|---|
| 45 | 270 | 0 |