Element-wise rounding. You can also use the round() generic.
Arguments
- operand
(
arrayish)
Operand.- method
(
character(1))
Rounding method. Either"nearest_even"(default) or"afz"(away from zero).
Value
arrayish
Has the same shape and data type as the input.
See also
prim_round() for the underlying primitive.