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 /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/RInterface/doc/rounding.m2:112:0.