Skip to main content
DLiteScript
Playground
Documentation
DLiteScript - A Delightfully Simple Scripting Language
Documentation
Standard Library
math Namespace
math.cos
math.cos
Returns the cosine of an angle in radians.
Examples
1
printf
(
"%g\n"
,
math
.
cos
(
0
))
// 1
Improve this page