Holds precision and rounding information for use in decimal arithmetic. A precision of 0 means unlimited precision.

See also Decimal

no subtypes hierarchy

Initializer
Rounding(Integer precision, Mode mode)
Parameters:
  • precision

    The precision to apply when rounding.

  • mode

    The kind of rounding to apply.

Throws
Attributes
implementationSource Codeshared formal Object? implementation
modeSource Codeshared Mode mode

The kind of rounding to apply.

precisionSource Codeshared Integer precision

The precision to apply when rounding.

stringSource Codeshared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

Inherited Attributes
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object