{"name":"acos","title":"acos","type":"command","url":"https://community.bistudio.com/wiki/acos","revid":378425,"updated":"2026-04-06T21:06:04Z","groups":["Math - Geometry"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","description":"ArcCosine of a number, result in Degrees","syntaxes":[{"syntax":"acos x","params":[{"name":"x","type":"Number in range -1..+1","description":"any other value returns NaN","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"x"}}],"examples":[{"code":["_degrees = acos 0.5; // Returns 60"]}],"see_also":["atan","asin","sin","cos","tan"]}