> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/nexorm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/nexorm/operators/update-operators/number-operators/usdround.md).

# $round

Update records by setting the value of a numeric column to its rounded value based on a specified number of decimal places. The $round method is used to round a numeric field to the nearest whole number or to a specific number of decimals. For example, if the column value is 3.14159 and you use $round: 2, it will be rounded to 3.14. This is useful when you want to ensure the values are standardized and do not have excessive decimal places.

```typescript
await Member.$update({
    $where: { 
        age: { 
            $eq: 16 
        } 
    },
    $update: {
        $round: {
          age: 2
        }
    }
});
```
