round {SparkR}R Documentation

round

Description

Returns the value of the column e rounded to 0 decimal places using HALF_UP rounding mode.

Usage

## S4 method for signature 'Column'
round(x)

Arguments

x

Column to compute on.

Note

round since 1.5.0

See Also

Other math_funcs: acos, asin, atan2, atan, bin, bround, cbrt, ceil, conv, corr, cosh, cos, covar_pop, cov, expm1, exp, factorial, floor, hex, hypot, log10, log1p, log2, log, pmod, rint, shiftLeft, shiftRightUnsigned, shiftRight, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Examples

## Not run: round(df$c)

[Package SparkR version 2.1.2 Index]