# Math.deg ## 功能 弧度转角度。返回对应角度值。 ## 语法 ```bt Math.deg(radian) ``` ## 参数 | 参数 | 类型 | 必填 | 默认值 | 说明 | | ------ | ------ | ------ | ------ | ------ | | radian | Number | 是 | 无 | 弧度值。 | ## 返回值 | 类型 | 说明 | | ------ | ------ | | Int/Float | 返回对应角度值。整数结果返回 Int,非整数或非有限结果返回 Float。 | ## 示例 ```bt result = Math.deg(Math.PI) // 输出:180 print result ``` ## 注意事项 - 等价于 radian * 180 / PI。