Carrot reference
Functions
round()
rounds a given value to the defined number of decimal places syntax round(number\[, places]) number the number value to be evaluated places (optional) the number of places of the returned number value return type number docid\ uci5tctfvbhonej6zqijg sample usage round(4 5678, 2) returns 4 57 round(4 5678) returns 5 supported data types input type return type logic number docid\ uci5tctfvbhonej6zqijg number docid\ uci5tctfvbhonej6zqijg if a number value is passed, that number value will be rounded to the defined number of decimal places defaults to zero decimal places unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null