> 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/round.md).

# round

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

**Description** : The round function rounds a numeric value to the nearest integer, ensuring accurate mathematical rounding for the input number.

**Syntax**  :  fx\_round()

**Example** : fx\_round(13.78) it returns round value as 14.

Here we go with simple scenario using the above function.

**Scenario** : In a retail store, a cashier is processing transactions and needs to calculate the total amount owed by rounding the final price of each item to the nearest dollar. They utilize a function to ensure that customers are charged accurately without any fractions of a dollar.

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/J_SKMuongpds7ez95Q1Yj7354NtHKNvUEsxlvRm2v9HS8q2InW8NYrU5ajHR3NTn-qkkaINhgSekfue7_XY9G_6wG39DomOS1gf59G982ChntDh3vhpwDxG5wN6ZAS012kssp2CET2sdGaea3qGvE9o" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/squ1IRlzx2pFLR7eF3e4awq2w2ftfnfDCSsnH_GRDyxzi-9N1_kTxN-tDOlMbBX-t4nvKYYi1UCjmRY9utfk9tpcstn6Mk1itZpSs4EQvT0dvyj9_DdCxo6EfKGk9duCHNZ7bVXUpNxATsX8wrJHkAM" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/13NLZIeAtoAOxWOQHEnoE-ck0s5fqapsWzTmN0WRcUce52uoWe7flA3dzlLVYIw3errAXBzqMDCbMy0dYTObU0zCKOWmU2BDKVMxmpCKhw-DoIVdFYWlcg1oCQjwy5y1i6NFH4EF5SpgM095UjsLy2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/yMx8Ef2mrjbqx2G6xoWY2OplylgKLm2tT46bDS1RYFwnCaowLEXfYTajbv240IDMZFbuwZi8vuCMCNkCh7u7zrrKlK1VALYvbjCt04Z78i-BVzd41CQINZ-hrMiWTa4bIK857b5VYs6Pz1nfktoVWrE" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/uHigcrrGtkrcJp46qLwfbKHdUkTM_wVatEGj7ATcKkejaI4bU_cqN6eb7pqFjJFQ5Ow4seuFEHqsC6M0znRf8rEHHmcDzEjmK8npXiyRa0SUL07NJiuLYZiPY2UbPWTXXKW_vA4TPq01Zxxxx0v_BAU" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/W0rJVHeQigGqx6W9RBYtGVRFz_TYXCbTpN7dqXieAMRdT5iVF10sA0l0Us4B5mKIA42lG8Y_sUYvn3k0SlcXNKgvNf4T6UPukuacDNKHzpUdrz5V14AjrsxQCavOwGnT2QEJ_mjA9RhnDurS_2ocrZ8" alt=""><figcaption></figcaption></figure>
