执行数学函数 cos。
cos
math().cos(value)
value
Int | Float:整数结果会返回 Int,非整数结果返回 Float。
Int | Float
Int
Float
result = math().cos(1, 2)