---
url: /flow/guide/scripting-reference/functions/mathematical/cos.md
---

# Cos

## Declaration

`Function Cos(e : Extended) : Extended`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Cos(123);
end;
```

## Description

Returns the Cos of the given value.
