Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

Cos

Cos:Float32 degrees:Float32
Parameter Mode Type Default Description
degrees In Float32 required The angle in degrees.

Returns: A value from -1 to 1.

Description

Returns the cosine of an angle given in degrees, not radians.

Examples

Print Cos(60)
0.5

Related Commands

ACos, ByteSwap 〔BlitzLLVM〕, Ceil, Exp

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally