HomeSQL 函数数值函数COSOn this pageCOS返回 x 的余弦值,其中 x 以弧度为单位。 语法 COS( <x> ) 示例 SELECT COS(PI());┌───────────┐│ cos(pi()) │├───────────┤│ -1 │└───────────┘