# Math.rad

## 功能

角度转弧度。返回对应弧度值。

## 语法

```bt
Math.rad(degree)
```

## 参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
| ------ | ------ | ------ | ------ | ------ |
| degree | Number | 是 | 无 | 角度值。 |

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Int/Float | 返回对应弧度值。整数结果返回 Int，非整数或非有限结果返回 Float。 |

## 示例

```bt
result = Math.rad(180)

// 输出：3.141592653589793
print result
```

## 注意事项

- 等价于 degree * PI / 180。
