Rounds every numeric column of a data.table to given precision

# S3 method for class 'dt'
round(x, digits = 3)

Arguments

x

a `data.table` like thing

digits

the number of digits to round to

Value

the rounded `x`