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 :

Response Side :

Last updated