round xround(x, n)Round each element of x to the nearest integer, calling R's round, which rounds to even (banker's rounding), just as in Macaulay2.
|
|
An optional second argument, or equivalently a digits option, specifies the number of decimal places to use when rounding.
|
|
|
The source of this document is in RInterface/doc/rounding.m2:112:0.