> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/built-in-functions/math/sum.md).

# sum

sum() function is the Standard function available in 200OK.

**Description** : The sum function computes the sum of the given numbers xxx, yyy, and zzz, providing the total as the output.

**Syntax** :fx\_sum()

**Example** : fx\_sum(1,2,3) it sum the values and returns the value 6.

Here we go with simple scenario using the above function.<br>

**Scenario** :  In a budgeting application, a user is tracking their monthly expenses across different categories such as groceries, utilities, and entertainment. They utilize the fx\_sum function to compute the total monthly expenses by summing up the amounts spent in each category, providing them with an overview of their overall spending.

<br>

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/1tD7wR6q0RlwZKwiK7ROPeOYUs0jpoA6aBTr3us5U1qmXY3Iv5QNaJmNlGiUW5czvaKbcZOoz_YqV6QhskH81lekpf8ytsT38jD26IYJsdBwfJBlck5rEPgdmK3yn2dxgDS-YJtyeApvHvt0-KPedE0" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/SDLmHZLfR6f-dGRQQByxXrnd7XluIGF5ra_4okIi1VDMvsucon5kq6GB__s1Bdtd6F-llsx-goTcE_JkST7m3Y1v9dWNfhnD3ybVxGzGPL3J0vSBj1v2Lvxp_yQ2i8u4rN4UACb4YzdmMvWDjCj3TdY" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/rqGtHJM7889xrKu_wVhIUw4kE5bM6dpBqESEsKWEHpW8ZeH2yF-17QZFpNgm06A2lxA-mxkwdBB0puTWV2DkrIxYFMKtwanRpdLEjtveRleeCe1i1vk2AS98Iw3gVZxxCYRuSqmw_iEvlWuThX_iA6Q" alt=""><figcaption></figcaption></figure>
