Class Round

All Implemented Interfaces:
ArithFunction, Serializable

public class Round extends DefaultArithFunction

Function: math.round(N): encapsulates java Math.round(N); returns the closest integer to the argument.

Examples:

  • math.round(1.1): returns 1.
  • math.round(1.9): returns 2.
See Also: