Class MathContext

java.lang.Object
io.deephaven.web.client.api.updateby.MathContext

@JsType(namespace="dh.updateby") public class MathContext extends Object
The precision and rounding mode for BigDecimal arithmetic on the server, matching Java's java.math.MathContext. Used by UpdateByControl.mathContext and UpdateByEmOptions.bigValueContext.
  • Field Details

    • precision

      public int precision
      The number of significant digits. Zero means unlimited. Must not be negative.
    • roundingMode

      public RoundingMode roundingMode
      How to round a result to precision. Each value matches the Java java.math.RoundingMode constant of the same name. Required.
  • Constructor Details

    • MathContext

      public MathContext()
  • Method Details